<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>muse.net.nz</title>
	<atom:link href="http://blog.muse.net.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.muse.net.nz</link>
	<description>«where great ideas come together»</description>
	<pubDate>Sat, 27 Sep 2008 09:46:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/0f382080ed2675b699d824c3acb9bed3?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>muse.net.nz</title>
		<link>http://blog.muse.net.nz</link>
	</image>
			<item>
		<title>america becoming france</title>
		<link>http://blog.muse.net.nz/2008/09/27/america-becoming-france/</link>
		<comments>http://blog.muse.net.nz/2008/09/27/america-becoming-france/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 09:46:42 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[humour]]></category>

		<guid isPermaLink="false">http://scorch.wordpress.com/?p=28</guid>
		<description><![CDATA[you&#8217;ve got to love this partially satirical article in TIME about how the despised habits of the French are coming true in the Land of the Free
Posted in humour&#160;&#160;&#160;&#160;&#160;&#160;     ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>you&#8217;ve got to love this partially <a title="satire" href="http://www.time.com/time/nation/article/0,8599,1843168,00.html">satirical article</a> in TIME about how the despised habits of the French are coming true in the Land of the Free</p>
Posted in humour&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=28&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/09/27/america-becoming-france/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>setup rails on windows to use SQLite3</title>
		<link>http://blog.muse.net.nz/2008/09/07/setup-rails-on-windows-to-use-sqlite3/</link>
		<comments>http://blog.muse.net.nz/2008/09/07/setup-rails-on-windows-to-use-sqlite3/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 21:55:17 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[aws]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[sqlite3]]></category>

		<guid isPermaLink="false">http://scorch.wordpress.com/?p=26</guid>
		<description><![CDATA[well the last time I looked at ruby, I did it all on OpenBSD. Seemed pretty easy at the time so I didn&#8217;t make any notes. Now I&#8217;m doing it on windows, MacOS X &#38; amaxon&#8217;s EC2/ubuntu.
SQLite is no longer the default DB in rails, but for my dev PC I don&#8217;t want the whole [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>well the last time I looked at ruby, I did it all on OpenBSD. Seemed pretty easy at the time so I didn&#8217;t make any notes. Now I&#8217;m doing it on windows, MacOS X &amp; amaxon&#8217;s EC2/ubuntu.</p>
<p>SQLite is no longer the default DB in rails, but for my dev PC I don&#8217;t want the whole hog. So back to SQLite it was. I consider myself a bit of a windows guru, so I wasn&#8217;t expecting any real problems. I downloaded  ruby &amp; started to get up &amp; running, installing gems, capistrano, ec2onrails, &amp; finally sqlite3. I downloaded the SQLite3 DLL &amp; command tool into SQLite3, added this to the path, &amp; then tried to install the gem:</p>
<pre>D:\ruby\bin&gt;gem install sqlite3-ruby
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.

d:/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.</pre>
<p>not good!! nmake shouldn&#8217;t be necessary for installing a gem. Turns out we need to instead use:</p>
<pre>D:\ruby\bin&gt;gem install --version 1.2.3 sqlite3-ruby
Successfully installed sqlite3-ruby-1.2.3-x86-mswin32
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.3-x86-mswin32...
Installing RDoc documentation for sqlite3-ruby-1.2.3-x86-mswin32...</pre>
<p>which works a treat. I expect this will trip up a fair few people so hope this helps the happy googlers.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=26&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/09/07/setup-rails-on-windows-to-use-sqlite3/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>some questions on science</title>
		<link>http://blog.muse.net.nz/2008/07/27/some-questions-on-science/</link>
		<comments>http://blog.muse.net.nz/2008/07/27/some-questions-on-science/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 19:15:18 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[muse-ings]]></category>

		<guid isPermaLink="false">http://scorch.wordpress.com/?p=22</guid>
		<description><![CDATA[over on Thinking Matters there&#8217;s a whole lot of discussion around &#8220;what is science&#8221;, &#38; &#8220;where can we draw boundaries between it and religion&#8221;. For me that nicely illustrates the difference between the two domains - science is inclusive, inquisitive, and able to be challenged, downsized and redirected - think flat earth, newtonian physics for [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>over on <a href="http://thinkingmatters.org.nz/2008/07/some-questions-on-science/">Thinking Matters</a> there&#8217;s a whole lot of discussion around &#8220;what is science&#8221;, &amp; &#8220;where can we draw boundaries between it and religion&#8221;. For me that nicely illustrates the difference between the two domains - science is inclusive, inquisitive, and able to be challenged, downsized and redirected - think flat earth, newtonian physics for examples of fundamental changes in the way we view the world that science has permitted and incorporated.</p>
<p>Specious teleologic arguments are used to imply that religion is separate, special, and should be treated outside this evidential framework. Fair enough if that&#8217;s your view, but I&#8217;ve yet to see why this is required, and why it is allowed to be used to &#8220;explain&#8221; what has already been explained by science.</p>
<p>evolution is the best example of where these worlds collide. Scientifically the world has accepted the Darwinian concept of evolution, despite some tinkering of how fast &amp; how discrete the steps are by the likes of Steve Jay Gould and his opposing immovable force Richard Dawkins. The factual record is extensive &amp; consistent. So when we review the age of the earth (6000 years give or take) from a biblical perspective, we are expected to put Occam&#8217;s razor to the side, and invoke a mysterious being (not seen for the last 2000 years in any verifiable form) who compiled all of this evidence, and asks us to ignore it.</p>
<p>If this approach was used anywhere else, for example in a court of law, you&#8217;d deem it unacceptable. So why put up with it here?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=22&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/07/27/some-questions-on-science/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>motorola marketing from the munchkin wrangler</title>
		<link>http://blog.muse.net.nz/2008/07/27/motorola-marketing-from-the-munchkin-wrangler/</link>
		<comments>http://blog.muse.net.nz/2008/07/27/motorola-marketing-from-the-munchkin-wrangler/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 18:44:23 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[humour]]></category>

		<guid isPermaLink="false">http://scorch.wordpress.com/?p=20</guid>
		<description><![CDATA[motorola&#8217;s cellphone naming looks to me like the abbreviated names used in stock price tickers.  the munchkin wrangler has a different take &#38; a few alternative options!
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>motorola&#8217;s cellphone naming looks to me like the abbreviated names used in stock price tickers.  <a href="http://munchkinwrangler.wordpress.com/2008/07/26/if-they-start-selling-em-i-want-royalties/">the munchkin wrangler</a> has a different take &amp; a few alternative options!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=20&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/07/27/motorola-marketing-from-the-munchkin-wrangler/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>crashdump analysis on windows</title>
		<link>http://blog.muse.net.nz/2008/07/24/crashdump-analysi/</link>
		<comments>http://blog.muse.net.nz/2008/07/24/crashdump-analysi/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 02:29:45 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<category><![CDATA[crashdump]]></category>

		<category><![CDATA[windbg]]></category>

		<category><![CDATA[windows debugging]]></category>

		<guid isPermaLink="false">http://scorch.wordpress.com/?p=18</guid>
		<description><![CDATA[after spending a couple of hours debugging my brother-in-law&#8217;s crashing computer (&#38; in german, just to make it easier), I ran into this site http://www.dumpanalysis.org/ which is so good I might just have to buy a few of the books listed on it.
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>after spending a couple of hours debugging my brother-in-law&#8217;s crashing computer (&amp; in german, just to make it easier), I ran into this site <a href="http://www.dumpanalysis.org/">http://www.dumpanalysis.org/</a> which is so good I might just have to buy a few of the books listed on it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=18&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/07/24/crashdump-analysi/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>running OpenAFS on Ubuntu inside EC2</title>
		<link>http://blog.muse.net.nz/2008/06/01/running-openafs-on-ubuntu-inside-ec2/</link>
		<comments>http://blog.muse.net.nz/2008/06/01/running-openafs-on-ubuntu-inside-ec2/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 11:47:31 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<category><![CDATA[OpenAFS]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://scorch.wordpress.com/?p=16</guid>
		<description><![CDATA[first up, kick off an EC2 ubuntu/hardy instance, ssh in as usual

apt-get install openafs-fileserver
# set cell name to muse.net.nz
# set cache size to 10Gb
# set cellDB to afsdb.muse.net.nz
# update /etc/openafs/CellServDB
&#62;muse.net.nz            #home
121.73.27.12              [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>first up, kick off an EC2 ubuntu/hardy instance, ssh in as usual<br />
<code><br />
apt-get install openafs-fileserver<br />
# set cell name to muse.net.nz<br />
# set cache size to 10Gb<br />
# set cellDB to afsdb.muse.net.nz<br />
# update /etc/openafs/CellServDB<br />
&gt;muse.net.nz            #home<br />
121.73.27.12                    #afsdb.muse.net.nz<br />
rm /etc/openafs/server/CellServDB; ln -s /etc/openafs/CellServDB /etc/openafs/server/CellServDB<br />
# sweet!<br />
</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=16&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/06/01/running-openafs-on-ubuntu-inside-ec2/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>set up OpenBSD sendmail to fwd all local user mail to a smart host</title>
		<link>http://blog.muse.net.nz/2008/01/13/set-up-openbsd-sendmail-to-fwd-all-local-user-mail-to-a-smart-host/</link>
		<comments>http://blog.muse.net.nz/2008/01/13/set-up-openbsd-sendmail-to-fwd-all-local-user-mail-to-a-smart-host/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 23:15:22 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[tech]]></category>

		<category><![CDATA[OpenBSD]]></category>

		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://blog.muse.net.nz/2008/01/13/set-up-openbsd-sendmail-to-fwd-all-local-user-mail-to-a-smart-host/</guid>
		<description><![CDATA[three changes required -

configure sendmail to use a remote host for all mail in /etc/mail/submit.cf
# changes to fwd mail directly to smart host
#D{MTAHost}[127.0.0.1]
D{MTAHost}[smtp.muse.net.nz]

configure local aliases mapping to remap users to a destination address in /etc/mail/aliases
# Well-known aliases &#8212; these should be filled in!
# root:
root:           root@muse.net.nz

permit [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>three changes required -</p>
<ul>
<li>configure sendmail to use a remote host for all mail in /etc/mail/submit.cf<code><br />
# changes to fwd mail directly to smart host<br />
#D{MTAHost}[127.0.0.1]<br />
D{MTAHost}[smtp.muse.net.nz]<br />
</code></li>
<li>configure local aliases mapping to remap users to a destination address in /etc/mail/aliases<code><br />
# Well-known aliases &#8212; these should be filled in!<br />
# root:<br />
root:           root@muse.net.nz<br />
</code></li>
<li>permit relaying on smart host (postfix in my case) in /etc/postfix/main.cf<code><br />
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, akai.$mydomain</code></li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=15&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2008/01/13/set-up-openbsd-sendmail-to-fwd-all-local-user-mail-to-a-smart-host/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>The Perry Bible Fellowship</title>
		<link>http://blog.muse.net.nz/2007/11/25/the-perry-bible-fellowship/</link>
		<comments>http://blog.muse.net.nz/2007/11/25/the-perry-bible-fellowship/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 23:27:56 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[humour]]></category>

		<guid isPermaLink="false">http://blog.muse.net.nz/2007/11/25/the-perry-bible-fellowship/</guid>
		<description><![CDATA[i ran into this earlier today, he used to write cartoons for the guardian, but in the &#8216;free press&#8217; The Perry Bible Fellowship has a lot more freedom  
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>i ran into this earlier today, he used to write cartoons for the guardian, but in the &#8216;free press&#8217; <a href="http://www.pbfcomics.com/">The Perry Bible Fellowship</a> has a lot more freedom <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=14&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2007/11/25/the-perry-bible-fellowship/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>running OpenAFS on OpenBSD</title>
		<link>http://blog.muse.net.nz/2007/11/24/running-openafs-on-openbsd/</link>
		<comments>http://blog.muse.net.nz/2007/11/24/running-openafs-on-openbsd/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 01:07:11 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://blog.muse.net.nz/2007/11/24/running-openafs-on-openbsd/</guid>
		<description><![CDATA[I&#8217;ve had trouble getting OpenAFS to run recently (since 1.4.5 I think) on OpenBSD; I am still using my 4.0 binaries on 4.1 (I know, I know&#8230;) but here&#8217;s a few notes that may help you get started.

GET THE SOURCE AND MAKE BUILD

===========================================================

cvs -d:pserver:anonymous@cvs.openafs.org:/cvs login

 anonymous

cvs -z9 -d:pserver:anonymous@cvs.openafs.org:/cvs co -PA openafs# update

cd /usr/ports/local/openafs &#38;&#38; cvs -Rvz9 [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve had trouble getting OpenAFS to run recently (since 1.4.5 I think) on OpenBSD; I am still using my 4.0 binaries on 4.1 (I know, I know&#8230;) but here&#8217;s a few notes that may help you get started.</p>
<p><span id="more-13"></span></p>
<pre>GET THE SOURCE AND MAKE BUILD

===========================================================

cvs -d:pserver:anonymous@cvs.openafs.org:/cvs login

 anonymous

cvs -z9 -d:pserver:anonymous@cvs.openafs.org:/cvs co -PA openafs# update

cd /usr/ports/local/openafs &amp;&amp; cvs -Rvz9 update -Pd

chgrp -R wsrc .

#find . -type d | xargs chmod 775

#find . -type f | xargs chmod 664

./configure --enable-shared --enable-fast-restart --enable-bitmap-later --quiet --enable-debug --enable-bos-new-config --enable-supergroups --enable-namei-fileserver --enable-largefile-fileserver --disable-kernel-module --with-afs-sysname=i386_obsd40 --enable-transarc-paths

## --disable-kernel-module --enable-transarc-paths --with-krb5 --with-afs-sysname=i386_obsd40 --exec-prefix=/usr/local

make &amp;&amp; make install DESTDIR=/tmp/openafs-1.4.4

cd /tmp/openafs-1.4.4 &amp;&amp; tar cvzf /usr/ports/local/openafs-1.4.4_obsd40.tar.gz .

make &amp;&amp; make install DESTDIR=/tmp/openafs-1.5.15

cd /tmp/openafs-1.5.15 &amp;&amp; tar cvzf /usr/ports/local/openafs-1.5.15_obsd40.tar.gz .

## remove "package" or installation directly

rm -rf /usr/local/lib/afs/ /usr/local/libexec/openafs/ /usr/local/include/rx/ /usr/local/include/afs/

rm /usr/local/include/{des.h,des_conf.h,des_odd.h,des_prototypes.h,lock.h,lwp.h,mit-cpyright.h,potpourri.h,preempt.h}

rm /usr/local/include/{timer.h,ubik.h,ubik_int.h}

rm /usr/local/lib/{libafsauthent.a,libafsrpc.a,libdes.a,liblwp.a,librx.a,librxkad.a,librxstat.a,libubik.a}

rm /usr/local/bin/{afsmonitor,bos,cmdebug,compile_et,dlog,dpass,fs,klog,klog.krb,knfs,kpasswd,kpwvalid,livesys,pagsh,pagsh.krb,pts,rxgen,scout,sys,tokens,tokens.krb,translate_et,udebug,unlog,up,xstat_cm_test,xstat_fs_test}

rm /usr/local/sbin/{afsd,backup,bos_util,bosserver,butc,copyauth,fms,fstrace,kadb_check,kas,kdb,kdump/kdump-build,kpwvalid,kseal,prdb_check,pt_util,read_tape,restorevol,rmtsysd,rxdebug,uss,vldb_check,vldb_convert,voldump,volinfo,vos,vsys}

OPENAFS CLIENT - NOT WORKING WELL

===========================================================

install openafs-1.*.tgz package

setup krb5.conf as usual

set up afs.conf as usual

file:/etc/rc.securelevel

/sbin/modload /usr/local/lib/openafs/libafs.o

file:/etc/rc.local

# start OpenAFSD client

if [ "X${openafsd}" != X"NO" ]; then

 echo -n 'starting OpenAFS client...';

 mkdir -p -m 0755 /afs

 mkdir -p /var/openafs/cache

 /usr/local/sbin/afsd -stat 4000 -dcache 4000 -daemons 6 -volumes 256 -files 50000 \

 	-afsdb -fakestat -nosettime

 echo 'done!'

fi

file:/etc/rc.conf.local

#start OpenAFS client

openafsd = YES

file:/etc/openafs/cacheinfo

/afs:/var/openafs/cache:1048576

ARLA CLIENT

===========================================================

# set up for next reboot

file:/etc/rc.conf.local

### start ARLA client

### add '--dynroot' on non-AFSDB servers

echo afs=YES&gt;&gt; /etc/rc.conf.local

echo afsd_flags=\"--log=/var/log/arlad.log --cpu-usage --check-consistency\"&gt;&gt; /etc/rc.conf.local

# edit ntpd.conf for time.muse.net.nz

# install client configuration

cd /tmp &amp;&amp; ftp ftp://gremlin.muse.net.nz/OpenAFS/openafs_obsd39.tar.gz

cd / &amp;&amp; tar xvzpf /tmp/openafs_obsd39.tar.gz

mkdir -p -m 0755 /afs

echo -n 'unmounting afs:'

pkill afsd &gt; /dev/null 2&gt;&amp;1

rm -rf /var/spool/afs

umount /afs

rm /var/log/arlad.log

pgrep afsd &amp;&amp; echo FAIL unable to shut down existing instance

echo -n 'mounting afs:'

mount -t xfs /dev/xfs0 /afs

/usr/libexec/afsd --log=/var/log/arlad.log --recover --cpu-usage --check-consistency

ls /afs

OPENAFS SERVER /ETC/RC* CHANGES

===========================================================

file:/etc/rc.local

# start OpenAFSD server

if [ "X${openafs}" = X"YES" ]; then

 echo -n 'starting OpenAFS daemons...';

 /usr/afs/bin/bosserver ${openafsd_flags}

 echo 'done!'

fi

file:/etc/rc.conf.local

# OpenAFS server

openafs=YES

openafsd_flags="-log -auditlog /var/log/boss.log -syslog -enable_peer_stats -enable_process_stats"

file:/etc/rc.shutdown

echo -n 'stopping OpenAFS daemons...';

/usr/afs/bin/bos shutdown localhost -localauth -wait

/usr/afs/bin/bos status localhost -localauth

echo 'done!'

#start up OpenAFS

/usr/afs/bin/bosserver -log -auditlog /var/log/boss.log -syslog \

 -enable_peer_stats -enable_process_stats

SET UP AFSDB IN DNS

===========================================================

file:/var/named/master/muse.net.nz

sendai      A       10.0.0.x               ; afsdb1

muse.net.nz.    3600    IN AFSDB 1      sendai

dig -t AFSDB muse.net.nz

;; ANSWER SECTION:

muse.net.nz.            3600    IN      AFSDB   1 straylight.muse.net.nz.

muse.net.nz.            3600    IN      AFSDB   1 sendai.muse.net.nz.

muse.net.nz.            3600    IN      AFSDB   1 wintermute.muse.net.nz.

;; ADDITIONAL SECTION:

straylight.muse.net.nz		259200  IN      A       10.0.0.22

sendai.muse.net.nz		259200  IN      A       10.0.0.20

wintermute.muse.net.nz		259200  IN      A       10.0.0.21

CREATE AFS SERVICE ACCOUNTS

===========================================================

http://www.dementia.org/twiki/bin/view/AFSLore/KerberosAFSInstall

kadmin -p admin/krb

kadmin&gt; add --random-key --use-defaults afs/muse.net.nz

kadmin&gt; del_enctype afs/muse.net.nz des3-cbc-sha1

kadmin&gt; del_enctype afs/muse.net.nz aes256-cts-hmac-sha1-96

kadmin&gt; del_enctype afs/muse.net.nz arcfour-hmac-md5

kadmin&gt; list *afs*

 admin/afs

 afs/muse.net.nz

 host/afsdb.muse.net.nz

kadmin&gt; get afs/muse.net.nz@MUSE.NET.NZ

            Principal: afs/muse.net.nz@MUSE.NET.NZ

    Principal expires: never

     Password expires: never

 Last password change: never

      Max ticket life: 1 day

   Max renewable life: 1 week

                 Kvno: 1

                Mkvno: 0

Last successful login: never

    Last failed login: never

   Failed login count: 0

        Last modified: 2007-03-12 04:28:42 UTC

             Modifier: kadmin/admin@MUSE.NET.NZ

           Attributes:

             Keytypes: des-cbc-md5(pw-salt), des-cbc-md4(pw-salt), des-cbc-crc(pw-salt)

kadmin&gt; ext -k /etc/afskeytabfile.krb5 afs/muse.net.nz

kadmin&gt; quit

root@ice:/ $ ktutil -k /etc/afskeytabfile.krb5 list

 /etc/afskeytabfile.krb5:

Vno  Type         Principal

   1  des-cbc-md5  afs/muse.net.nz@MUSE.NET.NZ

   1  des-cbc-md4  afs/muse.net.nz@MUSE.NET.NZ

   1  des-cbc-crc  afs/muse.net.nz@MUSE.NET.NZ

root@ice:/ $ mkdir -p /usr/afs/etc

root@ice:/ $ ln -s /etc/afs/ThisCell /usr/afs/etc/ThisCell

root@ice:/ $ cat /etc/afs/ThisCell

 muse.net.nz

root@ice:/ $ ktutil copy FILE:/etc/afskeytabfile.krb5 AFSKEYFILE:/usr/afs/etc/KeyFile

## may need to mkdir -p /usr/afs/etc/;  ln -s /etc/afs/ThisCell /usr/afs/etc/ThisCell

## mkdir -m 700 p /etc/openafs/server

## oldversion: ktutil -v copy /tmp/afsv5key AFSKEYFILE:/etc/openafs/server/KeyFile

## ktutil -v copy /tmp/afsv5key AFSKEYFILE:/etc/openafs/server/KeyFile

/usr/afs/bin/bosserver -syslog -noauth

/usr/afs/bin/bos listkeys -noauth afsdb.muse.net.nz

/usr/afs/bin/bos setcellname afsdb.muse.net.nz muse.net.nz -noauth

#chmod this appropriately!

CONFIGURING OpenAFS

===========================================================

http://www.openafs.org/pages/doc/QuickStartUnix/auqbg005.htm#HDRWQ50

http://www.arayan.com/da/yazi/OpenAFS_Kerberos_5.html

http://wiki.bsd-crew.de/index.php/OpenAFS_unter_NetBSD#Compiling_OpenAFS

http://www.pdc.kth.se/heimdal/heimdal.html#Testing-clients-and-servers

http://www.slac.stanford.edu/~alfw/kerb5.html

http://grand.central.org/twiki/bin/view/AFSLore/InstallingtheFirstAFSMachine

mkdir -p -m 700 /usr/afs/db

mkdir -p m 755  /var/openafs/{local,server,cache,logs}

/bin/echo "/afs:/var/openafs/cache:198112" &gt; /etc/openafs/cacheinfo

/bin/echo muse.net.nz&gt; /etc/afs/ThisCell

/bin/echo "&gt;muse.net.nz            #where great ideas come together"&gt;&gt; /etc/afs/CellServDB

/bin/echo "10.0.0.32    #afsdb.muse.net.nz"&gt;&gt; /etc/afs/CellServDB

mkdir -p /usr/vice/etc

mkdir -p /usr/afs/etc

scp afsdb.muse.net.nz:/etc/openafs/server/KeyFile /etc/afs/

ln -s /etc/afs/KeyFile /usr/afs/etc/KeyFile

ln -s /etc/afs/ThisCell /usr/vice/etc/ThisCell

ln -s /etc/afs/CellServDB /usr/vice/etc/CellServDB

ln -s /etc/afs/CellServDB /usr/afs/etc/CellServDB

ln -s /etc/afs/ThisCell /usr/afs/etc/ThisCell

ln -s /etc/afs/CellServDB /etc/openafs/CellServDB

ln -s /etc/afs/ThisCell /etc/openafs/ThisCell

ln -s /etc/afs/CellServDB /etc/openafs/server/CellServDB

ln -s /etc/afs/ThisCell /etc/openafs/server/ThisCell

ln -s /etc/openafs/server/KeyFile /etc/openafs/KeyFile

mv /usr/sbin/fs /usr/sbin/fs.arla

mv /usr/sbin/bos /usr/sbin/bos.arla

mv /usr/sbin/vos /usr/sbin/vos.arla

mv /usr/sbin/pts /usr/sbin/pts.arla

mkdir -p /usr/afs/local

echo 10.0.0.32&gt;/usr/afs/local/NetInfo

echo 127.0.0.1&gt;/usr/afs/local/NetRestrict

echo 10.0.0.3&gt;&gt;/usr/afs/local/NetRestrict

echo 10.0.0.12&gt;&gt;/usr/afs/local/NetRestrict

echo 10.0.0.20&gt;&gt;/usr/afs/local/NetRestrict

echo 10.0.0.25&gt;&gt;/usr/afs/local/NetRestrict

echo 10.0.0.27&gt;&gt;/usr/afs/local/NetRestrict

echo admin.afs&gt;/usr/afs/etc/UserList

# if you're not using a separate mount point for vicepXX

touch /vicepa/AlwaysAttach

# create &amp; auto-start the daemons

alias pafs='ps aux | grep afs'

/usr/afs/bin/bosserver -log -syslog -noauth

/usr/afs/bin/bos setcellname afsdb.muse.net.nz muse.net.nz -noauth

/usr/afs/bin/bos adduser afsdb.muse.net.nz admin.afs -noauth

more /etc/afs/ThisCell

more /etc/afs/CellServDB

&gt;muse.net.nz    #Cell name

[10.0.0.32]        #afsdb.muse.net.nz

/usr/afs/bin/bos listhosts afsdb.muse.net.nz -noauth

/usr/afs/bin/bos create afsdb.muse.net.nz \

 buserver simple /usr/afs/bin/buserver \

 -cell muse.net.nz -noauth

/usr/afs/bin/bos create afsdb.muse.net.nz \

 ptserver simple /usr/afs/bin/ptserver  \

 -cell muse.net.nz -noauth

/usr/afs/bin/bos create afsdb.muse.net.nz \

 vlserver simple /usr/afs/bin/vlserver  \

 -cell muse.net.nz -noauth

pafs

# grant admin rights on cell

/usr/afs/bin/pts createuser -name admin.afs -cell muse.net.nz -noauth

/usr/afs/bin/pts adduser admin.afs system:administrators -cell muse.net.nz -noauth

/usr/afs/bin/pts createuser -name dave -cell muse.net.nz -noauth

/usr/afs/bin/pts createuser -name pk -cell muse.net.nz -noauth

/usr/afs/bin/pts createuser -name veronika -cell muse.net.nz -noauth

## /usr/afs/bin/pts adduser dave system:administrators -cell muse.net.nz -noauth

/usr/afs/bin/pts mem system:administrators -cell muse.net.nz -noauth

/usr/afs/bin/bos listkeys afsdb.muse.net.nz -cell muse.net.nz -noauth

restart BOS with authentication

===========================================================

/usr/afs/bin/bos shutdown afsdb.muse.net.nz -cell muse.net.nz -localauth -wait

/usr/afs/bin/bos status afsdb.muse.net.nz -cell muse.net.nz -localauth -long

pafs

pkill -HUP bosserver

pafs

### mount /vicepa

### kinit admin/afs to get afs privileged tokens &amp; make sure you have arla running

/usr/afs/bin/bosserver -log -syslog -enable_peer_stats -enable_process_stats

/usr/afs/bin/bos restart afsdb.muse.net.nz -all -cell muse.net.nz

create FS instance

===========================================================

/usr/afs/bin/bos create afsdb.muse.net.nz fs fs \

 /usr/afs/bin/fileserver \

 /usr/afs/bin/volserver \

 /usr/afs/bin/salvager \

 -cell muse.net.nz -localauth

create AFS root volume

===========================================================

/usr/afs/bin/vos listpart afsdb.muse.net.nz

/usr/afs/bin/vos create afsdb.muse.net.nz /vicepa root.afs \

 -cell muse.net.nz -verbose

/usr/afs/bin/vos create afsdb.muse.net.nz /vicepa root.cell \

 -cell muse.net.nz -verbose

/usr/afs/bin/vos listvol -server afsdb.muse.net.nz

********** to do

::fix up ln -s stuff

::identify correct paths for bins

::move KeyFile to continuity

fs setacl /afs system:administrators rlidwka

fs setacl /afs system:anyuser rl

fs mkmount /afs/muse.net.nz root.cell

dir /afs/muse.net.nz

fs setacl /afs/muse.net.nz system:administrators rlidwka

fs setacl /afs/muse.net.nz system:anyuser rl

fs mkmount /afs/.muse.net.nz root.cell -rw

dir /afs/.muse.net.nz

fs setacl /afs/.muse.net.nz system:administrators rlidwka

fs setacl /afs/.muse.net.nz system:anyuser rl

fs mkmount -dir /afs/su.se -vol root.cell -cell su.se -fast

fs mkmount -dir /afs/openafs.org -vol root.cell -cell openafs.org -fast

fs mkmount -dir /afs/stacken.kth.se -vol root.cell -cell stacken.kth.se -fast

/usr/afs/bin/pts removeuser dave system:administrators -cell muse.net.nz

REPLICATE THE ROOT VOLUMES &amp; INCREASE THEIR QUOTA

===========================================================

/usr/afs/bin/vos addsite afs1.muse.net.nz /vicepa root.cell

/usr/afs/bin/vos addsite afs1.muse.net.nz /vicepa root.afs

/usr/afs/bin/vos addsite afs1.muse.net.nz /vicepa root.home

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

/usr/afs/bin/vos release root.afs -verbose

/usr/afs/bin/vos release root.cell -verbose

/usr/afs/bin/vos release root.home -verbose

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

/usr/afs/bin/vos examine root.cell -format

/usr/afs/bin/vos examine root.afs -extended

/usr/afs/bin/vos setfields root.cell -maxquota 100000

/usr/afs/bin/vos setfields root.afs -maxquota 10000

/usr/afs/bin/vos examine root.cell

/usr/afs/bin/vos release root.cell -verbose

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

MAKE A HOME DIRECTORY

===========================================================

# create basic structure

/usr/afs/bin/vos create afs.muse.net.nz /vicepa root.home -verbose

fs setacl /afs/.muse.net.nz system:authuser rl

fs mkmount /afs/.muse.net.nz/home root.home -rw

/usr/afs/bin/vos release root.cell -verbose

ll  /afs/.muse.net.nz/home/dave

fs setacl /afs/.muse.net.nz/home system:authuser rl

fs setacl /afs/.muse.net.nz/home system:administrators rlidwka

#vos examine root.home -format

/usr/afs/bin/vos release root.cell -verbose

############################################

# create a single person

/usr/afs/bin/vos listpart afs.muse.net.nz

/usr/afs/bin/vos create afs.muse.net.nz /vicepa home.dave -verbose

fs mkmount /afs/.muse.net.nz/home/pk home.pk -rw

/usr/afs/bin/vos listvol -server finn

/usr/afs/bin/vos examine home.pk -format

/usr/afs/bin/vos setfields home.pk -maxquota 500000

/usr/afs/bin/vos release root.home

ll  /afs/.muse.net.nz/home/pk

/usr/afs/bin/pts createuser pk

fs setacl /afs/.muse.net.nz/home/pk system:administrators rlidwka

fs setacl /afs/.muse.net.nz/home/pk pk write

/usr/afs/bin/vos release root.cell -verbose

dir /afs/muse.net.nz/home/dave

ADD A NEW FILESERVER

===========================================================

#add your new FS &amp; IP to DNS as AFSDB

#duplicate to new fileserver

 /usr/afs/etc

bin:	/usr/afs/bin

bin:	/usr/vice/etc/libafs.o

 /usr/vice/etc

 /etc/afs

 /etc/kerberosV except krb5.keytab

#create a new krb5.keytab for this host in /etc/kerberosV/krb5.keytab

sudo -s

kadmin -p dave/admin

 add --random-key host/continuity.muse.net.nz

 ext --keytab=/etc/kerberosV/krb5.keytab host/continuity.muse.net.nz

 exit

ktutil  -k /etc/kerberosV/krb5.keytab list

chmod 0400 /etc/kerberosV/krb5.keytab

/usr/afs/bin/bosserver -log -syslog -enable_peer_stats -enable_process_stats

/usr/afs/bin/bos listhosts afs1.muse.net.nz -localauth

echo 10.0.0.3&gt;/usr/afs/local/NetInfo

# grant admin rights on local fileserver if not done above

/usr/afs/bin/bos adduser afs1.muse.net.nz dave.afs -localauth

/usr/afs/bin/bos listkeys afs1.muse.net.nz -localauth

kinit --afslog admin/afs

/usr/afs/bin/bos restart afs1.muse.net.nz -all

/usr/afs/bin/bos create afs1.muse.net.nz fs fs \

 /usr/afs/bin/fileserver \

 /usr/afs/bin/volserver \

 /usr/afs/bin/salvager \

 -cell muse.net.nz

/usr/afs/bin/vos listpart afs1.muse.net.nz

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

#add RO replicas

/usr/afs/bin/vos addsite afs1.muse.net.nz /vicepa root.cell

/usr/afs/bin/vos addsite afs1.muse.net.nz /vicepa root.afs

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

/usr/afs/bin/vos release -verbose root.cell

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

/usr/afs/bin/vos release -verbose root.afs

/usr/afs/bin/vos listvol -server afs1.muse.net.nz

MAKE A READ-ONLY PUBLIC AREA

===========================================================

/usr/afs/bin/vos create finn /vicepa root.public -verbose

/usr/afs/bin/vos addsite finn /vicepa root.public -verbose

/usr/afs/bin/vos release root.public

/usr/afs/bin/vos listvol -server finn

fs mkmount /afs/.muse.net.nz/pub root.public -rw

/usr/afs/bin/vos release root.cell --verbose

ll /afs/.muse.net.nz/pub

fs setacl /afs/.muse.net.nz/pub system:anyuser rl

dir /afs/muse.net.nz/pub

/usr/afs/bin/vos create finn /vicepa public.openbsd37 -verbose

/usr/afs/bin/vos setfields public.openbsd37  -maxquota 1000000

/usr/afs/bin/vos addsite finn /vicepa public.openbsd37 -verbose

/usr/afs/bin/vos release public.openbsd37

/usr/afs/bin/vos listvol -server finn

mkdir /afs/.muse.net.nz/pub/OpenBSD/

fs listacl /afs/.muse.net.nz/pub/OpenBSD

fs mkmount /afs/.muse.net.nz/pub/OpenBSD/3.7 public.openbsd37 -rw

fs listacl /afs/.muse.net.nz/pub/OpenBSD/3.7

fs setacl /afs/.muse.net.nz/pub/OpenBSD/3.7 system:anyuser rl

/usr/afs/bin/vos release root.public

dir /afs/muse.net.nz/public

/usr/afs/bin/vos addsite wintermute /vicepa root.public -verbose

/usr/afs/bin/vos addsite wintermute /vicepa public.openbsd37 -verbose

/usr/afs/bin/vos release root.public

/usr/afs/bin/vos release public.openbsd37

/usr/afs/bin/vos listvol -server wintermute

===========================================================

/usr/afs/bin/vos create finn /vicepa public.distfiles -verbose

fs mkmount /afs/.muse.net.nz/pub/distfiles public.distfiles -rw

fs sa /afs/.muse.net.nz/pub/distfiles system:anyuser rl

fs sa /afs/.muse.net.nz/pub/distfiles dave write

MAKE A AFS HOMEDIR USER

===========================================================

/usr/afs/bin/vos listpart wintermute.muse.net.nz

/usr/afs/bin/vos create afs.muse.net.nz /vicepa home.pk -verbose

fs mkmount /afs/.muse.net.nz/home/pk home.pk -rw

/usr/afs/bin/vos listvol -server wintermute

/usr/afs/bin/vos setfields home.pk -maxquota 500000

/usr/afs/bin/pts createuser -name pk

fs setacl /afs/.muse.net.nz/home/pk system:administrators rlidwka

fs setacl /afs/.muse.net.nz/home/pk pk write

/usr/afs/bin/vos release root.home

dir /afs/muse.net.nz/home/pk

CREATING A FEW GROUPS

===========================================================

/usr/afs/bin/pts creategroup system:servers system:administrators

/usr/afs/bin/pts creategroup system:wsrc system:administrators

/usr/afs/bin/pts listent -g

/usr/afs/bin/pts listent -u

/usr/afs/bin/pts createuser 10.0.0.9

/usr/afs/bin/pts createuser 10.0.0.2

/usr/afs/bin/pts add 10.0.0.9 system:servers

/usr/afs/bin/pts add 10.0.0.2 system:servers

/usr/afs/bin/pts mem system:servers

/usr/afs/bin/pts add dave system:wsrc

/usr/afs/bin/pts mem system:wsrc

setting up wsrc

===========================================================

fs la /afs/.muse.net.nz/i386_obsd37

 Access list for /afs/.muse.net.nz/i386_obsd37 is

 Normal rights:

   system:wsrc rlidwk

   system:servers rl

   system:administrators rlidwka

   system:authuser rl

debugging

===========================================================

bosserver -log -enable_peer_stats -enable_process_stats -nofork

config files

===========================================================

file:/usr/afs/etc/CellServDB

&gt;muse.net.nz		# dave &amp; veronika

&gt;ualberta.ca		# University of Alberta

&gt;stacken.kth.se		# Royal Institute of Technology Computer Club

&gt;su.se			# Stockholm University

&gt;openafs.org		#

file:/usr/afs/etc/ThisCell

muse.net.nz

file:/usr/afs/etc/SuidCells

file:/usr/afs/etc/CellAlias

muse.net.nz	muse

file:/usr/afs/etc/afsd.conf

high_vnodes	12000

low_vnodes	9000

high_bytes	6000M

low_bytes	1000M

numcreds	100

numconns	100

numvols		100

fetch_block	4M

file:/usr/vice/etc/

CellServDB -&gt; /usr/afs/etc/CellServDB

KeyFile -&gt; /usr/afs/etc/KeyFile

ThisCell -&gt; /usr/afs/etc/ThisCell

libafs.o

file:/etc/afs/

CellServDB -&gt; /usr/afs/etc/CellServDB

SuidCells -&gt; /usr/afs/etc/SuidCells

ThisCell -&gt; /usr/afs/etc/ThisCell

afsd.conf -&gt; /usr/afs/etc/afsd.conf

OPENBSD39 PACKAGE

===========================================================

file:/etc/sysctl.conf

ddb.panic=0                     # 0=Do not drop into ddb on a kernel panic

kern.maxfiles=102400		# increase maximum files

file:/etc/login.conf

daemon:\

     :openfiles-cur=1280:\

CREATE CLIENT PACKAGE

===========================================================

tar cvzf /tmp/openafs.muse.cfg.tar.gz /etc/openafs /etc/kerberosV/krb5.conf /var/openafs /etc/afs

KAS=/usr/local/sbin/kas

BOS=/usr/afs/bin/bos

FS=/usr/local/bin/fs

VOS=/usr/afs/bin/vos

PTS=/usr/afs/bin/pts

mkdir -m 700 /var/openafs /usr/afs/db

mkdir -m 755  /etc/openafs /etc/openafs/server /var/openafs/{local,server,cache}

/bin/echo "/afs:/var/openafs/cache:198112" &gt; /etc/openafs/cacheinfo

/bin/echo muse.net.nz&gt; /etc/afs/ThisCell

/bin/echo "&gt;muse.net.nz            #where great ideas come together"&gt;&gt; /etc/afs/CellServDB

ln -s /etc/afs/CellServDB /usr/afs/etc/CellServDB

ln -s /etc/afs/ThisCell /usr/afs/etc/ThisCell

ln -s /etc/afs/CellServDB /usr/afs/CellServDB

ln -s /etc/afs/ThisCell /usr/vice/etc/ThisCell

ln -s /etc/openafs/server/KeyFile /etc/openafs/KeyFile

mv /usr/sbin/fs /usr/sbin/fs.arla

mv /usr/sbin/bos /usr/sbin/bos.arla

mv /usr/sbin/vos /usr/sbin/vos.arla

mv /usr/sbin/pts /usr/sbin/pts.arla

echo 10.0.0.8&gt;/usr/afs/local/NetInfo

echo 127.0.0.1&gt;/usr/afs/local/NetRestrict

scp continuity:/etc/openafs/server/KeyFile /etc/openafs/server/

/usr/afs/bin/bosserver

pgrep boss

# grant admin rights on local fileserver if not done above

/usr/afs/bin/bos adduser afs.muse.net.nz dave.afs -localauth

/usr/afs/bin/bos listkeys afs.muse.net.nz -localauth

/usr/afs/bin/bos restart afs.muse.net.nz -all -localauth

/usr/afs/bin/bos create afs.muse.net.nz fs fs \

 /usr/afs/bin/fileserver \

 /usr/afs/bin/volserver \

 /usr/afs/bin/salvager \

 -localauth

/usr/afs/bin/vos listpart afs.muse.net.nz

/usr/afs/bin/vos listvol -server afs.muse.net.nz

/usr/afs/bin/bos shutdown afs.muse.net.nz -localauth

/usr/afs/bin/bos restart afs.muse.net.nz -all</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=13&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2007/11/24/running-openafs-on-openbsd/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
		<item>
		<title>using KerberosV on OpenBSD</title>
		<link>http://blog.muse.net.nz/2007/11/24/using-kerberosv-on-openbsd/</link>
		<comments>http://blog.muse.net.nz/2007/11/24/using-kerberosv-on-openbsd/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 01:05:02 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[OpenBSD]]></category>

		<guid isPermaLink="false">http://blog.muse.net.nz/2007/11/24/using-kerberosv-on-openbsd/</guid>
		<description><![CDATA[setting up &#38; using Kerberos V on OpenBSD is a piece of cake. With this info, you should also be able to get k-enabled OpenAFS and ssh working too.
references:
OpenBSD FAQ
Heimdal reference
running AFS on NetBSD
AFS install wiki

KerberosV===========================================================http://www.openbsd.org/faq/faq10.html#Kerberos

http://www.pdc.kth.se/heimdal/heimdal.html

http://kula.public.iastate.edu/talks/afs-bpw-2005/afs-bpw-2005-iowa.html

http://www.dementia.org/twiki/bin/view/AFSLore/KerberosAFSInstallfile:/etc/kerberosV/krb5.conf

[libdefaults]

default_realm = MUSE.NET.NZ

ticket_lifetime = 6000

clockskew = 300

[appdefaults]

afs-use-524 = no

afslog = yes

[realms]

MUSE.NET.NZ = {

supported_keytypes = des:normal des-cbc-crc:v4 des-cbc-crc:afs3

kdc = kerberos.muse.net.nz

admin_server = [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>setting up &amp; using Kerberos V on OpenBSD is a piece of cake. With this info, you should also be able to get k-enabled OpenAFS and ssh working too.</p>
<p>references:<br />
<a href="http://www.openbsd.org/faq/faq10.html#Kerberos" target="_blank">OpenBSD FAQ</a><br />
<a href="http://www.pdc.kth.se/heimdal/heimdal.html" target="_blank">Heimdal reference</a><br />
<a href="http://kula.public.iastate.edu/talks/afs-bpw-2005/afs-bpw-2005-iowa.html" target="_blank">running AFS on NetBSD</a><br />
<a href="http://www.dementia.org/twiki/bin/view/AFSLore/KerberosAFSInstallfile:/etc/kerberosV/krb5.conf" target="_blank">AFS install wiki</a></p>
<p><span id="more-12"></span></p>
<pre>KerberosV===========================================================http://www.openbsd.org/faq/faq10.html#Kerberos

http://www.pdc.kth.se/heimdal/heimdal.html

http://kula.public.iastate.edu/talks/afs-bpw-2005/afs-bpw-2005-iowa.html

http://www.dementia.org/twiki/bin/view/AFSLore/KerberosAFSInstallfile:/etc/kerberosV/krb5.conf

[libdefaults]

default_realm = MUSE.NET.NZ

ticket_lifetime = 6000

clockskew = 300

[appdefaults]

afs-use-524 = no

afslog = yes

[realms]

MUSE.NET.NZ = {

supported_keytypes = des:normal des-cbc-crc:v4 des-cbc-crc:afs3

kdc = kerberos.muse.net.nz

admin_server = kerberos.muse.net.nz

kpasswd_server = kerberos.muse.net.nz

}

[domain_realm]

.muse.net.nz = MUSE.NET.NZ

[kadmin]

default_keys = v5 afs3

afs-cell = muse.net.nz

[logging]

kadmind = FILE:/var/heimdal/kadmind.log

[kdc]

require-preauth = no

v4-realm = MUSE.NET.NZ

afs-cell = muse.net.nz

===========================================================

mkdir /var/heimdal

chmod 700 /var/heimdal

cd /var/heimdal

kstash

bak2Quoizniarot.

kadmin -l

init MUSE.NET.NZ

add --use-defaults admin/krb

add --use-defaults admin/afs

add --use-defaults dave

add --use-defaults veronika

add --use-defaults pk

add --random-key --use-defaults host/kerberos.muse.net.nz

add --random-key --use-defaults host/wintermute.muse.net.nz

add --random-key --use-defaults host/sendai.muse.net.nz

add --random-key --use-defaults host/straylight.muse.net.nz

add --random-key --use-defaults host/continuity.muse.net.nz

add --random-key --use-defaults host/finn.muse.net.nz

ext --keytab=/etc/kerberosV/krb5.keytab host/finn.muse.net.nz

ext --keytab=/etc/kerberosV/krb5.keytab host/continuity.muse.net.nz

ext --keytab=/etc/kerberosV/krb5.keytab host/kerberos.muse.net.nz

ext --keytab=/etc/kerberosV/krb5.keytab host/sendai.muse.net.nz

ext --keytab=/etc/kerberosV/krb5.keytab host/straylight.muse.net.nz

exit

chmod 0400 /etc/kerberosV/krb5.keytab

cd /tmp

sudo nohup /usr/libexec/kdc &amp;

sudo nohup /usr/libexec/kadmind &amp;

sudo nohup /usr/libexec/kpasswdd &amp;

file:/var/heimdal/kadmind.acl

admin/krb@MUSE.NET.NZ		all

muffin/admin@MUSE.NET.NZ	all		*/

joe/admin@MUSE.NET.NZ		all		*@MUSE.NET.NZ

jim/admin@MUSE.NET.NZ		all		*/*@MUSE.NET.NZ

jon/admin@MUSE.NET.NZ		change-password	*@MUSE.NET.NZ

for each host to be member of KRB farm

===========================================================

use same /etc/kerberosV/krb5.conf

sudo kadmin -p admin/krb@MUSE.NET.NZ

add --random-key  --use-defaults host/afsdb.muse.net.nz

ext --keytab=/etc/kerberosV/krb5.keytab host/afsdb.muse.net.nz

exit

#chmod 0400 /etc/kerberosV/krb5.keytab

USING KERBERISED SSH

===========================================================

file:/etc/ssh/sshd_config

# Kerberos options

#KerberosAuthentication no

KerberosAuthentication yes

#KerberosOrLocalPasswd yes

#KerberosTicketCleanup yes

#KerberosGetAFSToken no

KerberosGetAFSToken yes

# GSSAPI options

#GSSAPIAuthentication no

GSSAPIAuthentication yes

#GSSAPICleanupCredentials yes

file:/etc/ssh/ssh_config

Host *

GSSAPIAuthentication yes

GSSAPIDelegateCredentials yes

# testing it all works

kinit -fp --afslog dave

klist -vT

# disable your .ssh/ for a moment

ssh -v kerberos.muse.net.nz

debug1: Authentications that can continue: publickey,gssapi-with-mic,password,keyboard-interactive

debug1: Next authentication method: gssapi-with-mic

debug1: Delegating credentials

debug1: Delegating credentials

debug1: Authentication succeeded (gssapi-with-mic).</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/scorch.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/scorch.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/scorch.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/scorch.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/scorch.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/scorch.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/scorch.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/scorch.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/scorch.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/scorch.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/scorch.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/scorch.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.muse.net.nz&blog=52739&post=12&subd=scorch&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.muse.net.nz/2007/11/24/using-kerberosv-on-openbsd/feed/</wfw:commentRss>
	
		<media:content url="http://www.gravatar.com/avatar/7816074b94003120cf228c56656b0c9e?s=96&#38;d=identicon" medium="image">
			<media:title type="html">dave</media:title>
		</media:content>
	</item>
	</channel>
</rss>