<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Honza's perspective &#187; sha512</title>
	<atom:link href="http://blog.stastnarodina.com/honza-en/tag/sha512/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stastnarodina.com/honza-en</link>
	<description></description>
	<lastBuildDate>Tue, 20 Sep 2011 08:23:09 +0000</lastBuildDate>
	<language>cs</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ubuntu: change default encryption algorithm</title>
		<link>http://blog.stastnarodina.com/honza-en/spot/ubuntu-change-default-encryption-algorithm/</link>
		<comments>http://blog.stastnarodina.com/honza-en/spot/ubuntu-change-default-encryption-algorithm/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 23:58:08 +0000</pubDate>
		<dc:creator>honza</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[sha512]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.stastnarodina.com/honza-en/?p=63</guid>
		<description><![CDATA[
<p>While fighting with DB2 denying logins I had to change the default hash
algorithm used to store passwords in /etc/shadow. As far as I know (and as grep
-i -r „sha512“ /etc/* tells me ), there are two files that carry this
information. Namely /etc/pam.d/common-password and /etc/login.defs. To change
the algorithm from sha512 (which shifts as the […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>While fighting with <a
href="http://blog.stastnarodina.com/honza-en/spot/db2-sql30082n-security-processing-failed-with-reason-15/">DB2
denying logins</a> I had to change the default hash algorithm used to store
passwords in /etc/shadow.</p>

<p>As far as I know (and as <code>grep -i -r "sha512" /etc/*</code> tells me
<img
src="http://blog.stastnarodina.com/honza-en/wp-includes/images/smilies/icon_smile.gif"
alt=":-)" class="smiley" /> ), there are two files that carry this information.
Namely <code>/etc/pam.d/common-password</code> and
<code>/etc/login.defs</code>.</p>

<p>To change the algorithm from sha512 (which shifts as the default in the new
Ubuntu releases) change this:</p>

<h3>/etc/pam.d/common-password</h3>

<blockquote>
	<p>password [success=1 default=ignore] pam_unix.so obscure sha512</p>
</blockquote>

<p>to</p>

<blockquote>
	<p>password [success=1 default=ignore] pam_unix.so obscure md5</p>
</blockquote>

<h3>/etc/login.defs</h3>

<blockquote>
	<p>ENCRYPT_METHOD SHA512</p>
</blockquote>

<p>to</p>

<blockquote>
	<p>ENCRYPT_METHOD MD5</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.stastnarodina.com/honza-en/spot/ubuntu-change-default-encryption-algorithm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

