<?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>Life is Puffy</title>
	<atom:link href="http://bsdforever.org/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://bsdforever.org</link>
	<description>Discovering OpenBSD</description>
	<lastBuildDate>Thu, 07 Jun 2012 20:46:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Sassy Cyrus SASL (Say that 5 times fast!)</title>
		<link>http://bsdforever.org/index.php/2012/06/07/sassy-cyrus-sasl-say-that-5-times-fast/</link>
		<comments>http://bsdforever.org/index.php/2012/06/07/sassy-cyrus-sasl-say-that-5-times-fast/#comments</comments>
		<pubDate>Thu, 07 Jun 2012 20:46:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sasl]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[starttls]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=44</guid>
		<description><![CDATA[This is a re-post of an old tutorial I wrote with some minor updates for more recent versions of OpenBSD.
One of the greatest challenges in migrating my server from a managed FreeBSD server to the new OpenBSD server was learning how to implement support for SASL on SMTP connections. This seems like  [...]]]></description>
				<content:encoded><![CDATA[<p><em>This is a re-post of an old tutorial I wrote with some minor updates for more recent versions of OpenBSD.</em></p>
<p>One of the greatest challenges in migrating my server from a managed FreeBSD server to the new OpenBSD server was learning how to implement support for <a href="http://asg.web.cmu.edu/sasl/" target="_blank">SASL</a> on SMTP connections. This seems like something so elementary in a mail server that it should be really simple. Unfortunately, simply installing the cyrus-sasl package doesn&#8217;t handle the integration with sendmail for you nor is there any really good documentation online. I was particularly disappointed that OpenBSD&#8217;s documentation was completely silent on how to do it.</p>
<p>After searching online nearly all searches for SASL on OpenBSD were for Postfix. Fortunately I did come across an article on how to do it. While it was written for OpenBSD 3.3 nearly all of the steps also apply to 4.7 and later. You can find the original article <a href="http://www.dsrw.org/~dlg/sysadmin/sendmail/" target="_blank">here</a>.</p>
<p>First we&#8217;re going to need to install the cyrus-sasl package. We&#8217;re going to be using the plain vanilla version which allows us to use OpenBSD&#8217;s Unix style authentication from /etc/master.passwd. There are other flavors for LDAP, MySQL, and db4.</p>
<div id="_mcePaste" style="padding-left: 30px;">
<div id="_mcePaste" style="padding-left: 30px;"># pkg_add -i cyrus-sasl</div>
<div id="_mcePaste" style="padding-left: 30px;">Ambiguous: choose package for cyrus-sasl</div>
<div id="_mcePaste" style="padding-left: 30px;"> a       0: &lt;None&gt;</div>
<div id="_mcePaste" style="padding-left: 30px;">         1: cyrus-sasl-2.1.25p2</div>
<div id="_mcePaste" style="padding-left: 30px;">         2: cyrus-sasl-2.1.25p2-db4</div>
<div id="_mcePaste" style="padding-left: 30px;">         3: cyrus-sasl-2.1.25p2-ldap</div>
<div id="_mcePaste" style="padding-left: 30px;">         4: cyrus-sasl-2.1.25p2-mysql</div>
<div id="_mcePaste" style="padding-left: 30px;">         5: cyrus-sasl-2.1.25p2-pgsql</div>
<div id="_mcePaste" style="padding-left: 30px;">         6: cyrus-sasl-2.1.25p2-sqlite3</div>
<div></div>
</div>
<p>Here we&#8217;ll choose option 1.</p>
<p>Next we want to let saslauthd (the Cyus SASL 2 daemon) know that it&#8217;s going to be working with sendmail and what types of authentication we want to support. This is done by creating a file called Sendmail.conf in /usr/local/lib/sasl2 like this. The <em>cat</em> command listed first allows you to enter the contents into the file without opening an editor such as vi.</p>
<p style="padding-left: 30px;"># cat &gt; /usr/local/lib/sasl2/Sendmail.conf</p>
<p style="text-align: left; padding-left: 30px;">pwcheck_method: saslauthd</p>
<p style="text-align: left; padding-left: 30px;">mech_list: LOGIN PLAIN</p>
<p style="padding-left: 30px;">(hit ctrl-d to save)</p>
<p>There are other authentication methods than just LOGIN and PLAIN that you can use such as DIGEST-MD5 and CRAM-MD5 that you can also add on the second line of the file if you plan on using them. Since we&#8217;re using OpenBSD&#8217;s own authentication mechanism we&#8217;ll omit them from the line.</p>
<p>Before we forget, let&#8217;s add our startup script to /etc/rc.local to ensure that saslauthd is started with the server:</p>
<p style="padding-left: 30px;">if [ -x /usr/local/sbin/saslauthd ]; then</p>
<p style="padding-left: 30px;">echo -n &#8216; saslauthd&#8217;; /usr/local/sbin/saslauthd -a getpwent</p>
<p style="padding-left: 30px;">fi</p>
<p>On OpenBSD 5.0 and later*, saslauthd will be started using the rc.d(8) mechanism. You will need to add the following line to /etc/rc.conf.local:</p>
<p style="padding-left: 30px;">pkg_scripts=&#8221;saslauthd&#8221;</p>
<p style="padding-left: 30px;">saslauthd_flags=&#8221;-a getpwent&#8221;</p>
<p style="padding-left: 30px;">* Substitute &#8220;pkg_scripts&#8221; for &#8220;rc_scripts&#8221; if you&#8217;re using 4.9.</p>
<p>Worth noting here is that we are using getpwent(3) as our authentication method. This is basically just saying that we&#8217;re authenticating against /etc/master.passwd. Since saslauthd defaults to starting up 5 threads or processes each time it runs, we can limit this by adjusting the startup command with a -n option followed by the desired number of threads we want to limit to. This may be desirable on an older machine with fewer resources.</p>
<p><span id="more-44"></span>Now that we have SASL configured we can move onto telling sendmail about it. This is where things can get a little tricky as I found after toying with various setups. We&#8217;ll need to recompile sendmail with SASL support. This is made much simpler on FreeBSD as there is a sendmail-sasl port that you can build. Why OpenBSD doesn&#8217;t do something similar or simply compile the support into their binaries is beyond me. The actual /etc/sendmail.cf or /etc/localhost/cf doesn&#8217;t even know that it needs to use cyrus-sasl until you configure it to.</p>
<p>Rant aside. Let&#8217;s get back to work now.</p>
<p>We need to tell our make environment that we want to support SMTP AUTH. This is done by creating /etc/mk.conf if it doesn&#8217;t already exist on your system.</p>
<p style="padding-left: 30px;"># echo &#8220;WANT_SMTPAUTH=yes&#8221; &gt;&gt; /etc/mk.conf</p>
<p>Next we need to create a symlink for the library file for our version of cyrus-sasl.</p>
<p style="padding-left: 30px;"># cd /usr/local/lib; ln -fs libsasl2.so.2.23 libsasl2.so</p>
<p>Now we need to add our cyrus-sasl support to sendmail prior to recompiling it. Be sure that you&#8217;ve untarred the src.tar.gz file into /usr/src from the OpenBSD source installation CD or that you&#8217;ve downloaded it for your release from their FTP site.</p>
<p style="padding-left: 30px;"># cd /usr/src/gnu/usr.sbin/sendmail/cf/cf</p>
<p>Here you will find numerous example M4 source files. The one that we want to modify is the openbsd-proto.mc since we&#8217;re setting up a mail server that sends and receives mail. If your mail server will only be offering SMTP services you want the openbsd-localhost.mc file.</p>
<p>Look for this line:</p>
<p style="text-align: left; padding-left: 30px;">FEATURE(`no_default_msa&#8217;)dnl</p>
<p style="text-align: left;">Below it we&#8217;re going to add our changes:</p>
<p style="text-align: left; padding-left: 30px;">define(`confAUTH_MECHANISMS&#8217;,`PLAIN LOGIN&#8217;)dnl</p>
<p style="padding-left: 30px;">TRUST_AUTH_MECH(`PLAIN LOGIN&#8217;)dnl</p>
<p style="padding-left: 30px;">define(`confAUTH_OPTIONS&#8217;,&#8220;y,p&#8221;)dnl</p>
<p>Remember that we added PLAIN and LOGIN to our /usr/local/lib/sasl2/Sendmail.conf? This is just telling sendmail to also use these authentication methods. If you wanted to use the MD5 methods that we talked about you&#8217;d also include them here. The third line with the AUTH_OPTIONS is optional and may not work well with all mail clients. The &#8220;y&#8221; option is disallowing any mechanism that allows anonymous login. The &#8220;p&#8221; option is disallowing any mechanism susceptible to a passive attack unless a security layer such as STARTTLS is used. While Thunderbird had no issues with these options being turned on Apple Mail and the iPhone Mail client failed to make SMTP connections with them on. There are several more options you can turn on here but I will leave it up to you to check out official <a href="http://sendmail.org" target="_blank">sendmail</a> sources for further information, or pick up a copy of the O&#8217;Reilly <a href="http://oreilly.com/catalog/9780596510299/" target="_blank">sendmail, 4th Edition</a> book.</p>
<p>Now to recompile sendmail and put it in place. The end is in sight.</p>
<p style="padding-left: 30px;"># cd /usr/src/gnu/usr.sbin/sendmail</p>
<p style="padding-left: 30px;"># make clean &amp;&amp; make obj &amp;&amp; make depend &amp;&amp; make &amp;&amp; make install</p>
<p style="padding-left: 30px;"># cp cf/cf/obj/openbsd-proto.cf /etc/mail/sendmail.cf</p>
<p>Start saslauthd and restart sendmail:</p>
<p style="padding-left: 30px;"># /usr/local/sbin/saslauthd -a getpwent</p>
<p style="padding-left: 30px;"># kill -HUP `head -1 /var/run/sendmail.pid`</p>
<p>On OpenBSD 4.9 and later:</p>
<p style="text-align: left; padding-left: 30px;"># /etc/rc.d/saslauthd start</p>
<p style="padding-left: 30px;"># /etc/rc.d/sendmail restart</p>
<p>If you get an error about no matching pid it just means that sendmail is not running and needs to be started up manually. To do this we need to grab the <em>sendmail_flags</em> line from our /etc/rc.conf.local and run it. If you&#8217;re only using your mail server for SMTP the line will still be in /etc/rc.conf.</p>
<p style="padding-left: 30px;"># /usr/sbin/sendmail -L sm-mta -C/etc/mail/sendmail.cf -bd -q30m</p>
<p>Congratulations! You should now have a fully working mail server. You may also want to explore adding STARTTLS support for added security. The starttls(8) man page had the best tutorial you&#8217;ll ever read on this. It&#8217;s very straightforward and gives you all the commands you need to generate your self-signed SSL certificates and put them in place.</p>
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2012/06/07/sassy-cyrus-sasl-say-that-5-times-fast/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Chicks dig OpenBSD (femail)</title>
		<link>http://bsdforever.org/index.php/2011/08/29/chicks-dig-openbsd-femail-chroot/</link>
		<comments>http://bsdforever.org/index.php/2011/08/29/chicks-dig-openbsd-femail-chroot/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 20:20:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=174</guid>
		<description><![CDATA[Recently I&#8217;ve had this really nagging issue where I could no longer send email from Roundcube. Mail would send just fine from any email client. A review of the mail logs for the failed message being sent from Roundcube gave a puzzling error about an unbalanced &#8220;&#60; &#8221; proceeding the recipient&#8217;s name  [...]]]></description>
				<content:encoded><![CDATA[<p>Recently I&#8217;ve had this really nagging issue where I could no longer send email from Roundcube. Mail would send just fine from any email client. A review of the mail logs for the failed message being sent from Roundcube gave a puzzling error about an unbalanced &#8220;&lt; &#8221; proceeding the recipient&#8217;s name with the email address. I did find that removing the person&#8217;s name proceeding the email address from the &#8220;To&#8221; line allowed me to send the message. Basically, removing the name when the field looks like this:</p>
<p>John Doe &lt;user@somedomain.com&gt;</p>
<p>I tried playing around with a few things including re-installations of Roundcube and did a really thorough glean of my sendmail config files comparing them to the defaults. Looking through the MySQL database showed no extra angle brackets in any of the stored contacts. I did find a post on the <a href="http://www.roundcubeforum.net/6-svn-releases/20-issues-bugs/1168-problem-replying-some-addresses-fix.html" target="_blank">Roundcube forums</a> about the same error but for an older version. I tried messing around with some of the PHP files as the fix mentioned in the article was no longer applicable due to filename changes, but had no change in behavior. Thinking that perhaps there was some bug in the PHP code itself I tried installing later versions but I still got the same error about the message failing to send. I had no issues with the 0.3.x releases. This issue cropped up in the 0.5.x branch.</p>
<p>Finally on a hunch I began to suspect that <em>mini_sendmail-chroot</em> was the culprit. It turns out that I was exactly right. A search of the OpenBSD mailing list archives pointed me to a replacement called <em>femail-chroot</em> which was described as being less problematic. I tried it out and problem resolved! I&#8217;m not sure what it was about mini_sendmail that breaks with newer PHP scripts. Unfortunately, the project is apparently no longer maintained with the last release being from <a href="http://www.acme.com/software/mini_sendmail/" target="_blank">2005</a>.</p>
<p>Femail is basically a drop-in replacement for <em>mini_sendmail</em>. The only work involved is to just point PHP to it in your php.ini and restart Apache. You can install <em>femail-chroot </em>as a package (run <em>pkg_add femail-chroot</em> as root) or from ports (mail/femail). If you install it from ports please note that the chrooted version is available as a flavor.</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/08/29/chicks-dig-openbsd-femail-chroot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5.0-beta has been released!</title>
		<link>http://bsdforever.org/index.php/2011/07/19/5-0-beta-has-been-released/</link>
		<comments>http://bsdforever.org/index.php/2011/07/19/5-0-beta-has-been-released/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 17:42:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[releases]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=162</guid>
		<description><![CDATA[This week the CVS tree has been tagged with 5.0-beta and work is being done to get it ready for its November release. You can see the announcement from Theo de Raadt here.
Peeter Hansteen, author of the indispensable The Book of PF has a very nice explanation of some of the things we can expect in  [...]]]></description>
				<content:encoded><![CDATA[<p>This week the CVS tree has been tagged with 5.0-beta and work is being done to get it ready for its November release. You can see the announcement from Theo de Raadt <a href="http://marc.info/?l=openbsd-cvs&amp;m=131097294809895&amp;w=2">here</a>.</p>
<p>Peeter Hansteen, author of the indispensable The Book of PF has a very nice <a href="http://bsdly.blogspot.com/2011/07/what-to-expect-in-openbsd-50-onwards.html">explanation</a> of some of the things we can expect in 5.0 and how this is not a revolutionary release but an evolutionary one.</p>
<p>Some of the interesting things he mentions are that sysmerge(8) will now be available to run from the installer instead of having to boot from the CD or new bsd.rd RAM disk and later going through and merging /etc, and being able to install non-free firmware from the get-go.</p>
<p>You can see a list of changes already implemented since 4.9-release <a href="http://www.openbsd.org/plus.html">here</a>.</p>
<p>I just installed a copy of the beta and started playing with it. So far I noticed that work on rc.d scripts continues to evolve as startup daemons in base now have individual scripts. In 4.9 rc scripts were only available for third-party software installed from packages or ports.</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/07/19/5-0-beta-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4.9 in full action</title>
		<link>http://bsdforever.org/index.php/2011/05/10/4-9-in-full-action/</link>
		<comments>http://bsdforever.org/index.php/2011/05/10/4-9-in-full-action/#comments</comments>
		<pubDate>Tue, 10 May 2011 21:46:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[releases]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=156</guid>
		<description><![CDATA[I&#8217;ve been using 4.9 for a week now and really love the improvements. The upgrade was dead simple and trouble free. Unfortunately, as I was upgrading my motherboard decided to die on me. Thankfully the helpful people at Westhost were able to get me back up and running in no time after a chassis  [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been using 4.9 for a week now and really love the improvements. The upgrade was dead simple and trouble free. Unfortunately, as I was upgrading my motherboard decided to die on me. Thankfully the helpful people at <a href="http://westhost.com/">Westhost</a> were able to get me back up and running in no time after a chassis swap.</p>
<p>The man pages for rc.conf(8) and rc.d(8) were extremely helpful for updating my configuration to take advantage of the new rc scripts. The only gotcha I ran into was that not everything has an rc script written for it yet and I had forgotten to setup certain ones to use a particular user like I had in my previous rc.local. Not a problem. The option to set a user for the startup daemon will always be named the same as the rc script. For example, the rc script for ClamAV is /etc/rc.d/clamd. To tell my server what user to run as I just add these lines to 1) start the daemon and 2) start it as the proper user in /etc/rc.conf.local.</p>
<p>rc_scripts=&#8221;clamd&#8221;<br />
clamd_user=&#8221;_clamav&#8221;</p>
<p>Simple enough, huh?</p>
<p>OpenBSD admits that the rc script functionality is a work in progress. It works very well in its current form and is well implemented as it is in the other BSDs. This is a great release and you should upgrade if you haven&#8217;t already. A round of applause for the OpenBSD developers!</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/05/10/4-9-in-full-action/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>4.9 is almost here!</title>
		<link>http://bsdforever.org/index.php/2011/04/26/4-9-is-almost-here/</link>
		<comments>http://bsdforever.org/index.php/2011/04/26/4-9-is-almost-here/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 20:12:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=154</guid>
		<description><![CDATA[I&#8217;ve been seeing reports on the OpenBSD mailing lists that the CD sets are being delivered throughout the US. May 1, 2011 is the big day. Be sure to order your CDs if you haven&#8217;t already done so.
]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been seeing reports on the OpenBSD mailing lists that the CD sets are being delivered throughout the US. May 1, 2011 is the big day. Be sure to order your CDs if you haven&#8217;t already done so.</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/04/26/4-9-is-almost-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenBSD in Fortune 500!?!</title>
		<link>http://bsdforever.org/index.php/2011/04/21/openbsd-in-fortune-500/</link>
		<comments>http://bsdforever.org/index.php/2011/04/21/openbsd-in-fortune-500/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 22:24:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=151</guid>
		<description><![CDATA[Yes, it is true. The OpenBSD Journal has a very interesting article put together by one of the OpenBSD developers on how they&#8217;re using it in their business to not only build networks, but to switch office environments over to OpenBSD. It&#8217;s a very interesting read and speaks for itself on how  [...]]]></description>
				<content:encoded><![CDATA[<p>Yes, it is true. The OpenBSD Journal has a very interesting <a href="http://undeadly.org/cgi?action=article&amp;sid=20110420080633">article</a> put together by one of the OpenBSD developers on how they&#8217;re using it in their business to not only build networks, but to switch office environments over to OpenBSD. It&#8217;s a very interesting read and speaks for itself on how versatile OpenBSD can be.</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/04/21/openbsd-in-fortune-500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentleman, get your credit cards ready!</title>
		<link>http://bsdforever.org/index.php/2011/03/16/gentleman-get-your-credit-cards-ready/</link>
		<comments>http://bsdforever.org/index.php/2011/03/16/gentleman-get-your-credit-cards-ready/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 18:06:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[releases]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=144</guid>
		<description><![CDATA[It&#8217;s that time of the year again. OpenBSD 4.9 just went on sale for pre-orders.
You can find the release notes here:
http://openbsd.org/49.html
&#160;

]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s that time of the year again. OpenBSD 4.9 just went on sale for pre-orders.</p>
<p>You can find the release notes here:</p>
<p><a href="http://openbsd.org/49.html">http://openbsd.org/49.html</a></p>
<p>&nbsp;</p>
<p><img class="aligncenter" title="OpenBSD 4.9 Cover Art" src="http://www.openbsd.org/images/openbsd49_cover.gif" alt="" width="570" height="806" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/03/16/gentleman-get-your-credit-cards-ready/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I see your true colors</title>
		<link>http://bsdforever.org/index.php/2011/02/23/i-see-your-true-colors/</link>
		<comments>http://bsdforever.org/index.php/2011/02/23/i-see-your-true-colors/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 23:28:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=140</guid>
		<description><![CDATA[Want to add some color to your shell environment? FreeBSD and most Linux distros have color options included in the &#8220;ls&#8221; utility by default. OpenBSD doesn&#8217;t but but it&#8217;s very easy to add. We just need to install the &#8220;colorls&#8221; package (sysutils/colorls in ports).
# pkg_add colorls
Colorls works  [...]]]></description>
				<content:encoded><![CDATA[<p>Want to add some color to your shell environment? FreeBSD and most Linux distros have color options included in the &#8220;ls&#8221; utility by default. OpenBSD doesn&#8217;t but but it&#8217;s very easy to add. We just need to install the &#8220;colorls&#8221; package (sysutils/colorls in ports).</p>
<p># pkg_add colorls</p>
<p>Colorls works exactly the same as regular &#8220;ls&#8221;. To get the color option you just need to use the -G option. If you want it to replace &#8220;ls&#8221; for regular work you can create an alias in your favorite shell&#8217;s environment file. The output for file and directory listings will now have a different color for different types of files.</p>
<p>White = regular file<br />
Purple = directory<br />
Red = executable file<br />
Magenta = symbolic link<br />
White highlight = Set Group ID enabled<br />
Red highlight = Set User ID enabled<br />
Yellow highlight = Sticky bit enabled</p>
<p>Enjoy! Almost as good as getting the window seat at work.</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/02/23/i-see-your-true-colors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash on BSD</title>
		<link>http://bsdforever.org/index.php/2011/02/04/flash-on-bsd/</link>
		<comments>http://bsdforever.org/index.php/2011/02/04/flash-on-bsd/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 22:19:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=131</guid>
		<description><![CDATA[It&#8217;s a long waged battle to get working Flash support on BSD. Most OpenBSD users either learn to live without it or try semi-working solutions such as gnash. On FreeBSD the support is somewhat passable using Linux emulation with a Linux binary version of Flash.
In yet another attempt to get Adobe  [...]]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s a long waged battle to get working Flash support on BSD. Most OpenBSD users either learn to live without it or try semi-working solutions such as gnash. On FreeBSD the support is somewhat passable using Linux emulation with a Linux binary version of Flash.</p>
<p>In yet another attempt to get Adobe to reconsider their position the PC-BSD team has put together a petition to get Flash for FreeBSD. Getting Adobe to see the growing number of BSD users is very important in making BSD more mainstream. Adobe has maintained Solaris support for Flash for a number of years. I think we&#8217;ve come a long way since Solaris was last a mainstream Unix desktop system compared to the number of desktop BSD systems there are now. If Adobe were to make Flash for FreeBSD I believe that it would be a fairly simple matter to get it to work under OpenBSD&#8217;s FreeBSD emulation mode.</p>
<p>Please take a moment to sign.</p>
<p><a href="http://www.petitiononline.com/flash4me/petition.html">http://www.petitiononline.com/flash4me/petition.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/02/04/flash-on-bsd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What do you want to learn this year?</title>
		<link>http://bsdforever.org/index.php/2011/01/26/what-do-you-want-to-learn-this-year/</link>
		<comments>http://bsdforever.org/index.php/2011/01/26/what-do-you-want-to-learn-this-year/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 21:18:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bsdforever.org/?p=128</guid>
		<description><![CDATA[My favorite computer book publisher O&#8217;Reilly Media has announced a giveaway of $500 worth of their titles (print, ebooks, videos, etc.) that you choose. Here&#8217;s what I&#8217;d like to read this year:
The Book of PF 2nd edition
Mac OS X for Unix Geeks (Leopard), Fourth Edition
Mac OS X Snow Leopard: The  [...]]]></description>
				<content:encoded><![CDATA[<p>My favorite computer book publisher O&#8217;Reilly Media has announced a <a href="http://oreilly.com/new-year-2011.csp">giveaway</a> of $500 worth of their titles (print, ebooks, videos, etc.) that you choose. Here&#8217;s what I&#8217;d like to read this year:</p>
<p>The Book of PF 2nd edition<br />
Mac OS X for Unix Geeks (Leopard), Fourth Edition<br />
Mac OS X Snow Leopard: The Missing Manual<br />
Network Warrior<br />
Practical UNIX and Internet Security, Third Edition<br />
Unix Power Tools, Third Edition<br />
Learning Perl, Fifth Edition<br />
Learning MySQL<br />
Learning the bash Shell, Third Edition<br />
Classic Shell Scripting<br />
Learning Python<br />
Postfix: The Definitive Guide</p>
<p>The contest ends on February 22, 2011 at 11:59 PM PST.  Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://bsdforever.org/index.php/2011/01/26/what-do-you-want-to-learn-this-year/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
