<?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>Tracy Phillips &#187; blowfish</title>
	<atom:link href="http://tracyphillips.com/tag/blowfish/feed/" rel="self" type="application/rss+xml" />
	<link>http://tracyphillips.com</link>
	<description></description>
	<lastBuildDate>Tue, 27 Oct 2009 14:12:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Setup FreeBSD To Use Blowfish</title>
		<link>http://tracyphillips.com/2005/11/30/setup-freebsd-to-use-blowfish-2/</link>
		<comments>http://tracyphillips.com/2005/11/30/setup-freebsd-to-use-blowfish-2/#comments</comments>
		<pubDate>Wed, 30 Nov 2005 22:39:26 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[blowfish]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=15</guid>
		<description><![CDATA[Now that we have our few FreeBSD usability items out of the way, lets setup FreeBSD's passwd utility to use Blowfish for the password hash by default instead of using the Md5 for the hash when creating new passwords. This is part of our good password policy. So lets get started by firing up our [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we have our few <a href="http://www.tracyphillips.com/2005/11/30/freebsd-usability/">FreeBSD usability</a> items out of the way, lets setup FreeBSD's passwd utility to use <a href="http://www.schneier.com/blowfish.html">Blowfish</a> for the password hash by default instead of using the Md5 for the hash when creating new passwords. This is part of our <a href="http://www.onlamp.com/pub/a/bsd/2001/01/17/FreeBSD_Basics.html">good password policy</a>.<br />
So lets get started by firing up our old friend vi.</p>
<p><code>vi /etc/login.conf</code></p>
<p>Now what we need to do is replace the string passwd_format=md5 with:</p>
<p><code>passwd_format=blf</code></p>
<p>Save and close the file.</p>
<p>We need to rebuild the <code>login.conf</code> database for our changes to take place.</p>
<p><code>cap_mkdb /etc/login.conf</code></p>
<p>Now we need to change our password to use blowfish for the password hash instead of md5. All you have to do is use passwd and input your new tor same password. To see if you are indeed using blowfish do the following.</p>
<p><code>cat /etc/master.passwd</code></p>
<p>If you see your hashed password starting with <code>$2</code> then you are all set. If it starts with <code>$1</code> then you are still using md5. Something most have gone wrong, so you will need to go back and review your changes.</p>
<p>Lets go ahead and make all new users that get added to the system use blowfish for hashing their password by default. To do that we will need to tell adduser to use blowfish instead of md5.</p>
<p><code>echo 'crypt_default = blf' >> /etc/auth.conf</code></p>
<p>Whew, I don't know about you, but I sure feel more secure :)</p>
<p>Next in this little series of setting up a <a href="http://www.freebsd.org/">FreeBSD</a> box and getting it ready for cutting edge <a href="http://www.rubyonrails.org/">Ruby on Rails</a> development, we will install and setup <a href="http://www.postgresql.org/">PostgreSQL 8.1</a>.</p>
<p><u><strong>Rails Server Setup:</strong></u></p>
<p>Part 1: <a href="http://www.tracyphillips.com/2005/11/new-server-setup/">New Server Setup</a><br />
Part 2: <a href="http://www.tracyphillips.com/2005/11/setup-freebsd-6x-for-ruby-on-rails/">Setup FreeBSD 6.x</a><br />
Part 3: <a href="http://www.tracyphillips.com/2005/11/freebsd-usability/">FreeBSD Usability</a><br />
Part 4: Setup FreeBSD To Use Blowfish<br />
Part 5: <a href="http://www.tracyphillips.com/2005/12/install-and-setup-postgresql-on-freebsd/">Install and Setup PostgreSQL</a><br />
Part 6: <a href="http://www.tracyphillips.com/2005/12/install-lighttpd-on-freebsd/">Install Lighttpd on FreeBSD</a><br />
Part 7: <a href="http://www.tracyphillips.com/2005/12/install-mysql-5x-on-freebsd/">Install MySQL 5.x on FreeBSD</a><br />
Part 8: <a href="http://www.tracyphillips.com/2005/12/ruby-on-rails-setup-with-freebsd/">Install Ruby On Rails with FreeBSD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2005/11/30/setup-freebsd-to-use-blowfish-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
