<?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>kb.hurricane-ridge.com &#187; Operating Systems</title>
	<atom:link href="http://kb.hurricane-ridge.com/category/os/feed" rel="self" type="application/rss+xml" />
	<link>http://kb.hurricane-ridge.com</link>
	<description>My personal - but public - knowledge base</description>
	<lastBuildDate>Mon, 09 Jan 2012 14:49:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Converting an IP Address to Hex</title>
		<link>http://kb.hurricane-ridge.com/os/linux/converting-an-ip-address-to-hex</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/converting-an-ip-address-to-hex#comments</comments>
		<pubDate>Wed, 10 Nov 2010 06:14:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gethostip]]></category>
		<category><![CDATA[pxelinux]]></category>
		<category><![CDATA[pxelinux.cfg]]></category>
		<category><![CDATA[tftp]]></category>
		<category><![CDATA[tftpboot]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=1006</guid>
		<description><![CDATA[Convert an IP address to hex using the &#8220;gethostip&#8221; command: This is useful for naming files in a pxelinux.cfg directory, for instance.]]></description>
			<content:encoded><![CDATA[<p>Convert an IP address to hex using the &#8220;gethostip&#8221; command:</p>
<pre class="brush: plain; light: true; title: ; notranslate">
$ gethostip 1.2.3.4
1.2.3.4 1.2.3.4 010203047
</pre>
<p>This is useful for naming files in a pxelinux.cfg directory, for instance.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/converting-an-ip-address-to-hex/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generating Crypted Passwords for Kickstart Files</title>
		<link>http://kb.hurricane-ridge.com/os/linux/rhel/generating-crypted-passwords-for-kickstart-files</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/rhel/generating-crypted-passwords-for-kickstart-files#comments</comments>
		<pubDate>Mon, 04 Oct 2010 17:38:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[kickstart]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=992</guid>
		<description><![CDATA[For Red Hat or clones, or ESX/ESXi, use &#8220;grub-md5-crypt&#8221;: Copy and paste to &#8220;rootpw &#8211;iscrypted&#8221; as appropriate.]]></description>
			<content:encoded><![CDATA[<p>For Red Hat or clones, or ESX/ESXi, use &#8220;grub-md5-crypt&#8221;:</p>
<pre class="brush: plain; light: true; title: ; notranslate">
&gt; grub-md5-crypt
Password:
Retype password:
$1$KnYGn/$wOAmKuQH3KP35XRjWiUpX/
</pre>
<p>Copy and paste to &#8220;rootpw &#8211;iscrypted&#8221; as appropriate.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/rhel/generating-crypted-passwords-for-kickstart-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Example checkinstall arguments</title>
		<link>http://kb.hurricane-ridge.com/os/linux/ubuntu/example-checkinstall-arguments</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/ubuntu/example-checkinstall-arguments#comments</comments>
		<pubDate>Mon, 02 Aug 2010 21:59:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[checkinstall]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=979</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash; title: ; notranslate">
&gt; sudo checkinstall -D --pkgname openldap_proxy --pkgversion=2.4.22-hrc --arch=amd64 \
  --maintainer=sysadmin@example.com --nodoc
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/ubuntu/example-checkinstall-arguments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting SCSI Timeout Values for FreeBSD VMs on VMware/NetApp</title>
		<link>http://kb.hurricane-ridge.com/os/freebsd/setting-scsi-timeout-values-for-freebsd-vms-on-vmwarenetapp</link>
		<comments>http://kb.hurricane-ridge.com/os/freebsd/setting-scsi-timeout-values-for-freebsd-vms-on-vmwarenetapp#comments</comments>
		<pubDate>Wed, 23 Jun 2010 23:07:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[fibre channel]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[NTAP]]></category>
		<category><![CDATA[scsi]]></category>
		<category><![CDATA[sysctl]]></category>
		<category><![CDATA[timeout]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=969</guid>
		<description><![CDATA[NetApp requires setting a timeout value of 190 seconds for all VMware data stores on their filers to handle &#8220;long fabric or storage-side I/O interruptions&#8221;; this is done as follows on FreeBSD: This can be set permanently in /etc/sysctl.conf: Elsewhere, I have seen a recommendation for FreeBSD on ESX that kern.cam.da.retry_count be set to 120.]]></description>
			<content:encoded><![CDATA[<p>NetApp <a href="https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb41511">requires</a> setting a timeout value of 190 seconds for all VMware data stores on their filers to handle &#8220;long fabric or storage-side I/O interruptions&#8221;; this is done as follows on FreeBSD:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
# sysctl kern.cam.da.default_timeout=190
</pre>
<p>This can be set permanently in /etc/sysctl.conf:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
kern.cam.da.default_timeout=190
</pre>
<p>Elsewhere, I have seen a <a href="https://www.dan.me.uk/blog/2009/05/24/freebsd-with-esx/">recommendation</a> for FreeBSD on ESX that kern.cam.da.retry_count be set to 120.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/freebsd/setting-scsi-timeout-values-for-freebsd-vms-on-vmwarenetapp/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Query Architecture of RPMs</title>
		<link>http://kb.hurricane-ridge.com/os/linux/rhel/query-architecture-of-rpms</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/rhel/query-architecture-of-rpms#comments</comments>
		<pubDate>Tue, 15 Jun 2010 22:01:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Red Hat Enterprise Linux]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=965</guid>
		<description><![CDATA[To query the architecture of installed RPMs, use a custom query format:]]></description>
			<content:encoded><![CDATA[<p>To query the architecture of installed RPMs, use a custom query format:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
rpm -q -a --queryformat='%{N}-%{V}-%{R}.%{arch}\n'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/rhel/query-architecture-of-rpms/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount an ISO image on Linux</title>
		<link>http://kb.hurricane-ridge.com/os/linux/mount-an-iso-image-on-linux</link>
		<comments>http://kb.hurricane-ridge.com/os/linux/mount-an-iso-image-on-linux#comments</comments>
		<pubDate>Tue, 15 Jun 2010 21:59:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[mount]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=960</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash; light: true; title: ; notranslate">
# mount -o loop disk1.iso /mnt/disk
</pre>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/linux/mount-an-iso-image-on-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring a Printer on Solaris</title>
		<link>http://kb.hurricane-ridge.com/os/solaris/configuring-a-printer-on-solaris</link>
		<comments>http://kb.hurricane-ridge.com/os/solaris/configuring-a-printer-on-solaris#comments</comments>
		<pubDate>Tue, 02 Mar 2010 00:49:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[jetdirect]]></category>
		<category><![CDATA[lpadmin]]></category>
		<category><![CDATA[printer]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=882</guid>
		<description><![CDATA[Adapted from the lpadmin man page, for an HP JetDirect printer: > pfexec lpadmin -p lp01 -v /dev/null -m netstandard -o dest=lp01.example.com:9100 -o protocol=tcp -T PS -I postscript > pfexec lpset -a banner=never lp01 > pfexec lpadmin -d lp01 > pfexec enable lp01 > pfexec accept lp01]]></description>
			<content:encoded><![CDATA[<p>Adapted from the lpadmin man page, for an HP JetDirect printer:</p>
<p><code>> pfexec lpadmin -p lp01 -v /dev/null -m netstandard -o dest=lp01.example.com:9100 -o protocol=tcp -T PS -I postscript<br />
> pfexec lpset -a banner=never lp01<br />
> pfexec lpadmin -d lp01<br />
> pfexec enable lp01<br />
> pfexec accept lp01 </code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/solaris/configuring-a-printer-on-solaris/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Services I like to disable on Solaris</title>
		<link>http://kb.hurricane-ridge.com/os/solaris/services-i-like-to-disable-on-solaris</link>
		<comments>http://kb.hurricane-ridge.com/os/solaris/services-i-like-to-disable-on-solaris#comments</comments>
		<pubDate>Sat, 27 Feb 2010 00:47:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[smf]]></category>
		<category><![CDATA[svcadm]]></category>
		<category><![CDATA[svcs]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=877</guid>
		<description><![CDATA[YMMV; adjust as you see fit: svcadm disable svc:/network/nfs/mapid:default svcadm disable svc:/network/nfs/cbd:default svcadm disable svc:/network/nfs/status:default svcadm disable svc:/network/nfs/nlockmgr:default svcadm disable svc:/network/rpc/rstat:default svcadm disable svc:/application/x11/xfs:default svcadm disable svc:/network/finger:default svcadm disable svc:/network/ftp:default svcadm disable svc:/network/login:rlogin svcadm disable svc:/network/nfs/rquota:default svcadm disable svc:/network/nfs/client:default svcadm disable svc:/network/rpc/rusers:default svcadm disable svc:/network/rpc/cde-ttdbserver:tcp svcadm disable svc:/network/shell:default svcadm disable svc:/network/telnet:default svcadm disable svc:/network/cde-spc:default svcadm [...]]]></description>
			<content:encoded><![CDATA[<p>YMMV; adjust as you see fit:</p>
<p><code>svcadm disable svc:/network/nfs/mapid:default<br />
svcadm disable svc:/network/nfs/cbd:default<br />
svcadm disable svc:/network/nfs/status:default<br />
svcadm disable svc:/network/nfs/nlockmgr:default<br />
svcadm disable svc:/network/rpc/rstat:default<br />
svcadm disable svc:/application/x11/xfs:default<br />
svcadm disable svc:/network/finger:default<br />
svcadm disable svc:/network/ftp:default<br />
svcadm disable svc:/network/login:rlogin<br />
svcadm disable svc:/network/nfs/rquota:default<br />
svcadm disable svc:/network/nfs/client:default<br />
svcadm disable svc:/network/rpc/rusers:default<br />
svcadm disable svc:/network/rpc/cde-ttdbserver:tcp<br />
svcadm disable svc:/network/shell:default<br />
svcadm disable svc:/network/telnet:default<br />
svcadm disable svc:/network/cde-spc:default<br />
svcadm disable svc:/application/management/seaport:default<br />
svcadm disable svc:/application/management/snmpdx:default<br />
svcadm disable svc:/application/management/dmi:default<br />
svcadm disable svc:/system/webconsole:console<br />
svcadm disable svc:/application/print/ipp-listener:default</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/solaris/services-i-like-to-disable-on-solaris/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pfexec as sudo replacement</title>
		<link>http://kb.hurricane-ridge.com/os/solaris/pfexec-as-sudo-replacement</link>
		<comments>http://kb.hurricane-ridge.com/os/solaris/pfexec-as-sudo-replacement#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:22:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[pfexec]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=871</guid>
		<description><![CDATA[To use pfexec similarly to sudo, use &#8220;usermod&#8221; to give the account the &#8220;Primary Administrator&#8221; profile: # usermod -P'Primary Administrator' aleonard &#8220;aleonard&#8221; will now be able to preface commands with &#8220;pfexec&#8221; to run them as root, similar to sudo when configured not to prompt for a password. References: Less known Solaris features: pfexec]]></description>
			<content:encoded><![CDATA[<p>To use pfexec similarly to sudo, use &#8220;usermod&#8221; to give the account the &#8220;Primary Administrator&#8221; profile:</p>
<p><code># usermod -P'Primary Administrator' aleonard</code></p>
<p>&#8220;aleonard&#8221; will now be able to preface commands with &#8220;pfexec&#8221; to run them as root, similar to sudo when configured not to prompt for a password.</p>
<p>References: <a href="http://www.c0t0d0s0.org/archives/4844-Less-known-Solaris-features-pfexec.html">Less known Solaris features: pfexec</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/solaris/pfexec-as-sudo-replacement/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Sendmail Maps on Solaris</title>
		<link>http://kb.hurricane-ridge.com/os/solaris/using-sendmail-maps-on-solaris</link>
		<comments>http://kb.hurricane-ridge.com/os/solaris/using-sendmail-maps-on-solaris#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:08:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[mailertable]]></category>
		<category><![CDATA[makemap]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://kb.hurricane-ridge.com/?p=868</guid>
		<description><![CDATA[Configure &#8216;/usr/lib/mail/cf/sendmail.mc&#8217; to meet your needs; for example, to use the access_db and mailertable features: divert(0)dnl VERSIONID(`@(#)sendmail.mc 1.11 (Sun) 06/21/04') OSTYPE(`solaris8')dnl DOMAIN(`generic')dnl FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(mailertable, `hash -o /etc/mail/mailertable') MAILER(`local')dnl MAILER(`smtp')dnl The new &#8216;sendmail.cf&#8217; can be built in &#8216;/usr/lib/mail/cf/sendmail.mc&#8217; by running &#8216;make&#8217; as root. Copy the new &#8216;sendmail.cf&#8217; file to &#8216;/etc/mail&#8217; and restart [...]]]></description>
			<content:encoded><![CDATA[<p>Configure &#8216;/usr/lib/mail/cf/sendmail.mc&#8217; to meet your needs; for example, to use the access_db and mailertable features:</p>
<p><code>divert(0)dnl<br />
VERSIONID(`@(#)sendmail.mc      1.11 (Sun) 06/21/04')<br />
OSTYPE(`solaris8')dnl<br />
DOMAIN(`generic')dnl<br />
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')<br />
FEATURE(mailertable, `hash -o /etc/mail/mailertable')<br />
MAILER(`local')dnl<br />
MAILER(`smtp')dnl<br />
</code></p>
<p>The new &#8216;sendmail.cf&#8217; can be built in &#8216;/usr/lib/mail/cf/sendmail.mc&#8217; by running &#8216;make&#8217; as root. Copy the new &#8216;sendmail.cf&#8217; file to &#8216;/etc/mail&#8217; and restart sendmail by running:</p>
<p><code># svcadm restart sendmail</code></p>
<p>An example mailertable mail map would be as follows:</p>
<p><code>example.org                smtp:mx.example.org</code></p>
<p>Once your map files are ready, use &#8216;makemap&#8217; to create the database files for each map:</p>
<p><code># makemap -v hash mailertable < mailertable<br />
# makemap -v hash access < access</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kb.hurricane-ridge.com/os/solaris/using-sendmail-maps-on-solaris/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

