<?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>edafe.org &#187; howto</title>
	<atom:link href="http://edafe.org/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://edafe.org</link>
	<description>edafe.org is the personal site of Edafe Knabe.</description>
	<lastBuildDate>Wed, 30 Jun 2010 20:54:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Redirecting mail for the local root user</title>
		<link>http://edafe.org/2010/01/redirecting-mail-for-the-local-root-user-2/</link>
		<comments>http://edafe.org/2010/01/redirecting-mail-for-the-local-root-user-2/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 12:46:23 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unr]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=5768</guid>
		<description><![CDATA[postfix is Ubuntu&#8217;s default mail transfer agent (MTA) and can be configured to deliver mail using a relay host that requires SMTP authentication.
Get the necessary packages with the following command:
user@ubuntu:~$ sudo apt-get install postfix bsd-mailx
Begin to configure your postfix installation by choosing satellite system as the general type of configuration. Enter the local machine name [...]]]></description>
			<content:encoded><![CDATA[<p><em>postfix</em> is Ubuntu&rsquo;s default mail transfer agent (MTA) and can be configured to deliver mail using a <a href="http://en.wikipedia.org/wiki/SMTP-AUTH" target="_blank">relay host that requires SMTP authentication</a>.</p>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install postfix bsd-mailx</code></p>
<p>Begin to configure your <em>postfix</em> installation by choosing <em>satellite system</em> as the general type of configuration. Enter the local machine name as the mail name (eg mycomputer.edafe.org) and the SMTP server address of your email service provider as the SMTP relay host (eg smtp.relayhost.com).</p>
<p>Edit the file <em>/etc/postfix/main.cf</em> and add the following:</p>
<p><code>smtp_sasl_auth_enable = yes<br />smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd<br />smtp_sasl_security_options =<br />relay_domains =</code></p>
<p>Create the file <em>/etc/postfix/sasl_passwd</em> and make the following entries:</p>
<p><code>smtp.relayhost.com user:password</code></p>
<p>Substitute <em>smtp.relayhost.com</em> with the address of the SMTP relay host and <em>user:password</em> with your login details.</p>
<p>Continue by executing the following three commands:</p>
<p><code>user@ubuntu:~$ sudo chown root.root /etc/postfix/sasl_passwd<br />user@ubuntu:~$ sudo chmod 600 /etc/postfix/sasl_passwd<br />user@ubuntu:~$ sudo postmap hash:/etc/postfix/sasl_passwd</code></p>
<p>Instruct <em>postfix</em> to reload its settings with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/postfix reload</code></p>
<h4>Making changes to the alias table</h4>
<p>The aliases table provides a system-wide mechanism to redirect mail for local recipients.</p>
<p>Edit the file <em>/etc/aliases</em> to contain the following entries:</p>
<p><code>postmaster: root<br />root: user@yourdomain.com</code></p>
<p>Substitute <em>user@yourdomain.com</em> with the email address that you would like mail for the root user to be redirected to.</p>
<p>Finally, update <em>/etc/aliases.db</em> using the following command:</p>
<p><code>user@ubuntu:~$ sudo newaliases</code></p>
<p>Mail for the local root user from now on will automatically be forwarded to <em>user@yourdomain.com</em> , using <em>smtp.relayhost.com</em> as the relay host.<br /><a href="http://www.postfix.org/BASIC_CONFIGURATION_README.html" target="_blank">www.postfix.org</a>, <a href="https://help.ubuntu.com/community/Postfix" target="_blank">help.ubuntu.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2010/01/redirecting-mail-for-the-local-root-user-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring hard disks with smartmontools</title>
		<link>http://edafe.org/2009/12/monitoring-hard-disks-with-smartmontools-2/</link>
		<comments>http://edafe.org/2009/12/monitoring-hard-disks-with-smartmontools-2/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 01:56:13 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[smart]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unr]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=5737</guid>
		<description><![CDATA[SMART stands for Self-Monitoring, Analysis and Reporting Technology and is built into most modern hard disks. The smartd daemon is part of smartmontools and monitors a disk&#8217;s SMART data for any signs of hardware problems.
SMART is available with Parallel and Serial ATA disks, drives appearing as either /dev/hd* or /dev/sd*, respectively. Use the following command [...]]]></description>
			<content:encoded><![CDATA[<p>SMART stands for Self-Monitoring, Analysis and Reporting Technology and is built into most modern hard disks. The <em>smartd</em> daemon is part of <em>smartmontools</em> and <a href="http://www.linuxjournal.com/article/6983" target="_blank">monitors a disk&rsquo;s SMART data</a> for any signs of hardware problems.</p>
<p>SMART is available with Parallel and Serial ATA disks, drives appearing as either <em>/dev/hd*</em> or <em class="mono">/dev/sd*</em>, respectively. Use the following command to obtain relevant information for your system:</p>
<p><code>user@ubuntu:~$ df -hl</code></p>
<p>If required, start by configuring <em>postfix</em> to <a href="./2010/01/redirecting-mail-for-the-local-root-user-2/">redirect mail for the local root user</a>.</p>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install smartmontools bsd-mailx</code></p>
<h4>Configuring smartd</h4>
<p>Edit the file <em>/etc/smartd.conf</em> and comment out any lines beginning with <em>DEVICESCAN</em>.</p>
<p>If you are using a netbook or a laptop, add the following line for the <em>smartd</em> daemon to monitor the device <em>/dev/sda</em>:</p>
<p><code>/dev/sda -a -d ata -n standby -o on -S on -m root -M daily -M test</code></p>
<p>If you are using a desktop or a server, add the following line for the <em>smartd</em> daemon to monitor the device <em>/dev/hda</em>:</p>
<p><code>/dev/hda -a -d ata -n never -o on -S on -s (L/../../7/04|S/../.././02) -m root -M daily -M test</code></p>
<p>See <em>man smartd.conf</em> for more information on how to tailor the operation of <em>smartd</em> to your needs.</p>
<h4>Starting smartd</h4>
<p>Edit the file <em>/etc/default/smartmontools</em> and uncomment the line containing <em>start_smartd=yes</em>.</p>
<p>Restart the <em>smartd</em> daemon with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/smartmontools restart</code></p>
<p>Verify that the local root user has received a test message from the <em>smartd</em> daemon.</p>
<p>From now on, the <em>smartd</em> daemon will monitor the disk and, in the event of impending disk failure, alert the local root user by email.</p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2009/12/monitoring-hard-disks-with-smartmontools-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still sending naked email?</title>
		<link>http://edafe.org/2008/11/still-sending-naked-email-get-your-protection-here/</link>
		<comments>http://edafe.org/2008/11/still-sending-naked-email-get-your-protection-here/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 21:17:38 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[enigmail]]></category>
		<category><![CDATA[gnupg]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[pgp]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=3755</guid>
		<description><![CDATA[&#8220;In a world of repressive governments and a growing reliance on insecure networks, there&#8217;s no way anyone can be sure their most sensitive messages aren&#8217;t intercepted by the forces of darkness. But you can make it mathematically improbable that all but the most well-funded snoops could ever make heads or tales of your communications.&#8221; Use [...]]]></description>
			<content:encoded><![CDATA[<p>&ldquo;In a world of repressive governments and a growing reliance on insecure networks, there&rsquo;s no way anyone can be sure their most sensitive messages aren&rsquo;t intercepted by the forces of darkness. But you can make it mathematically improbable that all but the most well-funded snoops could ever make heads or tales of your communications.&rdquo; Use Dan Goodin&rsquo;s step-by-step guide to email encryption and keep your communications private.<br /><a href="http://www.theregister.co.uk/2008/11/14/email_encryption_how_to/" target="_blank">www.theregister.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2008/11/still-sending-naked-email-get-your-protection-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching office suites from Microsoft Office to OpenOffice.org</title>
		<link>http://edafe.org/2008/04/switching-office-suites-from-microsoft-office-to-openofficeorg/</link>
		<comments>http://edafe.org/2008/04/switching-office-suites-from-microsoft-office-to-openofficeorg/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 21:50:08 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[odf]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=2948</guid>
		<description><![CDATA[&#8220;Think of this as a virtual guide, the written version of me coming over to your house on a Sunday afternoon to help get to know OpenOffice.org and figure out all the things you&#8217;re not quite sure about.&#8221; Solveig Haugland offers a virtual hand to hold.www.fanaticattack.com
]]></description>
			<content:encoded><![CDATA[<p>&ldquo;Think of this as a virtual guide, the written version of me coming over to your house on a Sunday afternoon to help get to know OpenOffice.org and figure out all the things you&rsquo;re not quite sure about.&rdquo; Solveig Haugland offers a virtual hand to hold.<br /><a href="http://www.fanaticattack.com/2008/switching-office-suites-from-microsoft-office-to-openofficeorg.html" target="_blank">www.fanaticattack.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2008/04/switching-office-suites-from-microsoft-office-to-openofficeorg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fit a bicycle</title>
		<link>http://edafe.org/2007/10/how-to-fit-a-bicycle/</link>
		<comments>http://edafe.org/2007/10/how-to-fit-a-bicycle/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 01:28:03 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[cycling]]></category>
		<category><![CDATA[fit]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[size]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=4459</guid>
		<description><![CDATA[&#8220;Bicycle fitting is a subject most people find quite mysterious. Fitting systems with charts and graphs, computer software, measuring devices and &#8216;rules of thumb&#8217; make for a lot of confusion. But I believe it&#8217;s really quite simple&#8221;, writes Peter Jon White. peterwhitecycles.com 
]]></description>
			<content:encoded><![CDATA[<p>&ldquo;Bicycle fitting is a subject most people find quite mysterious. Fitting systems with charts and graphs, computer software, measuring devices and &lsquo;rules of thumb&rsquo; make for a lot of confusion. But I believe it&rsquo;s really quite simple&rdquo;, writes Peter Jon White.<br /><a href="http://peterwhitecycles.com/fitting.htm" target="_blank"> peterwhitecycles.com </a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2007/10/how-to-fit-a-bicycle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing VMware tools for a Ubuntu guest</title>
		<link>http://edafe.org/2007/02/installing-vmware-tools-for-a-ubuntu-guest/</link>
		<comments>http://edafe.org/2007/02/installing-vmware-tools-for-a-ubuntu-guest/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 15:18:12 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1207</guid>
		<description><![CDATA[VMware Tools is a suite of utilities that enhances the performance of a virtual machine&#8217;s guest operating system.
Begin by setting up a new virtual machine and installing Ubuntu 6.06 LTS as the guest operating system. Start the virtual machine and log in as a user belonging to the admin group. You are now ready to [...]]]></description>
			<content:encoded><![CDATA[<p>VMware Tools is a suite of utilities that enhances the performance of a virtual machine&rsquo;s guest operating system.</p>
<p>Begin by <a href="http://www.vmware.com/support/ws55/doc/ws_newguest_setup_simple_steps.html" target="_blank">setting up a new virtual machine</a> and installing Ubuntu 6.06 LTS as the guest operating system. Start the virtual machine and log in as a user belonging to the admin group. You are now ready to install VMware Tools.</p>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install build-essential linux-headers-`uname -r`</code></p>
<p>Become root and create a symbolic link with the following commands:</p>
<p><code>user@ubuntu:~$ sudo su<br />root@ubuntu:/home/user# ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux</code></p>
<p>On the host, select <span>Virtual Machine &gt; Install VMware Tools&hellip;</span> from the VMware Workstation menu.</p>
<p>After the guest has mounted the VMware Tools installation virtual CD, change the active directory and copy the VMware Tools archive with the following commands:</p>
<p><code>root@ubuntu:/home/user# cd /root/<br />root@ubuntu:~# cp /media/cdrom/VMwareTools-7.6.3-87978.tar.gz /root/</code></p>
<p>Extract the contents of the archive and then change the active directory with the following commands:</p>
<p><code>root@ubuntu:~# tar -zxvf VMwareTools-7.6.3-87978.tar.gz<br />root@ubuntu:~# cd vmware-tools-distrib/</code></p>
<p>Invoke the install script with the following command, choose to install the binary files in /usr/local/bin and and set your desired screen resolution:</p>
<p><code>root@ubuntu:~/vmware-tools-distrib# ./vmware-install.pl</code></p>
<p>Restart your virtual machine.</p>
<p><a href="http://www.townx.org/blog/elliot/installing_dapper_as_a_guest_operating_system_on_vmware" target="_blank">www.townx.org</a>, <a href="http://blogs.tech-recipes.com/johnny/2006/09/05/installing-vmware-tools-for-ubuntu-linux/" target="_blank">www.tech-recipes.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2007/02/installing-vmware-tools-for-a-ubuntu-guest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time synchronisation with NTP</title>
		<link>http://edafe.org/2006/12/time-synchronisation-with-ntp/</link>
		<comments>http://edafe.org/2006/12/time-synchronisation-with-ntp/#comments</comments>
		<pubDate>Sat, 30 Dec 2006 12:24:27 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1211</guid>
		<description><![CDATA[The NTP protocol allows you to synchronise the clock of your computer with that of dedicated time servers on the Internet.
Get the necessary packages with the following command:
user@ubuntu:~$ sudo apt-get install ntp-simple ntpdate
Stop the ntpd daemon and manually synchronise your computer&#8217;s clock with the following two commands:
user@ubuntu:~$ sudo /etc/init.d/ntp-server stopuser@ubuntu:~$ sudo ntpdate pool.ntp.org
Modify the file [...]]]></description>
			<content:encoded><![CDATA[<p>The NTP protocol allows you to synchronise the clock of your computer with that of dedicated time servers on the Internet.</p>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install ntp-simple ntpdate</code></p>
<p>Stop the ntpd daemon and manually synchronise your computer&rsquo;s clock with the following two commands:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/ntp-server stop<br />user@ubuntu:~$ sudo ntpdate pool.ntp.org</code></p>
<p>Modify the file <em class="mono">/etc/ntp.conf</em> to read:</p>
<p><code># You do need to talk to an NTP server or two (or three).<br />#server ntp.your-provider.example<br />#server ntp.ubuntu.com<br />server 0.pool.ntp.org<br />server 1.pool.ntp.org<br />server 2.pool.ntp.org</code></p>
<p>Start the ntpd daemon with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/ntp-server start</code></p>
<p>After about one minute, query the status of the ntpq daemon with the following command:</p>
<p><code>user@ubuntu:~$ sudo ntpq -p</code></p>
<p>You can further increase the accuracy of time synchronisation by using the <a href="http://www.pool.ntp.org/use.html" target="_blank">time servers in your continental or country zone</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/12/time-synchronisation-with-ntp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharing a PostScript printer with CUPS and Samba</title>
		<link>http://edafe.org/2006/12/sharing-a-postscript-printer-with-cups-and-samba/</link>
		<comments>http://edafe.org/2006/12/sharing-a-postscript-printer-with-cups-and-samba/#comments</comments>
		<pubDate>Thu, 28 Dec 2006 09:12:21 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1205</guid>
		<description><![CDATA[Using Samba and CUPS, the Common UNIX Printing System, Ubuntu can easily be configured to provide printing services to a heterogeneous network of Windows, Macintosh and Linux clients.
Printing with CUPS
Get the necessary packages with the following command:
user@ubuntu:~$ sudo apt-get install cupsys foomatic-filters-ppds
Add the user cupsys to the group shadow:
user@ubuntu:~$ sudo adduser cupsys shadow
Get the file [...]]]></description>
			<content:encoded><![CDATA[<p>Using Samba and CUPS, the Common UNIX Printing System, Ubuntu can easily be configured to provide printing services to a heterogeneous network of Windows, Macintosh and Linux clients.</p>
<h4>Printing with CUPS</h4>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install cupsys foomatic-filters-ppds</code></p>
<p>Add the user <em>cupsys</em> to the group <em>shadow</em>:</p>
<p><code>user@ubuntu:~$ sudo adduser cupsys shadow</code></p>
<p>Get the file <em>cupsd.conf</em> and move it to <em>/etc/cups/</em>:</p>
<p><code>user@ubuntu:~# sudo wget &quot;<a href="http://edafe.org/wp-content/uploads/2006/12/cupsd.conf" target="_blank">http://edafe.org/ubuntu/cups/cupsd.conf</a>&quot;<br />user@ubuntu:~# sudo mv cupsd.conf /etc/cups/</code></p>
<p>The downloaded file contains the following changes from the Ubuntu default configuration:</p>
<p><code># Default authentication type, when authentication is required...<br />DefaultEncryption IfRequested<br /># Restrict access to the admin pages...<br />&lt;Location /admin&gt;<br />&emsp;&emsp;Allow @LOCAL<br />&lt;/Location&gt;</code></p>
<p>Setting these options enables members of the admin group to modify the configuration of the CUPS server from clients sharing the same local network.</p>
<p>Modify the file <em>/etc/cups/cups.d/ports.conf</em> to read:</p>
<p><code>Port 631<br />Listen localhost<br />Listen 192.168.0.123<br />Listen /var/run/cups/cups.sock</code></p>
<p>For <em>192.168.0.123</em>, substitute the IP address of your machine on the local network.</p>
<p>Restart <em>cupsd</em> with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/cupsys restart</code></p>
<p>Use a web browser to access <a href="http://localhost:631/admin" target="_blank">http://localhost:631/admin</a> (or http://192.168.0.123:631/admin from another machine on your local network). Go to <span>Administration &gt; Add Printer</span> and begin to set up your printer. When prompted by the system, authenticate yourself as a member of the admin group. If necessary, obtain the correct <a href="http://openprinting.org/printer_list.cgi" target="_blank">PostScript Printer Description (PPD) file</a> for your printer model. Print a test page to confirm that your printer is working properly with CUPS.</p>
<h4>Making Printers Available over the Network</h4>
<p><a href="./?p=1194">Install and configure a Samba server</a> and then add the following options to <em>/etc/samba/smb.conf</em>:</p>
<p><code>[global]<br />&emsp;&emsp;printing = cups<br />&emsp;&emsp;load printers = Yes<br />&emsp;&emsp;printcap name = cups<br />[printers]<br />&emsp;&emsp;comment = All Printers<br />&emsp;&emsp;printable = Yes<br />&emsp;&emsp;path = /var/spool/samba/print<br />&emsp;&emsp;browseable = No<br />&emsp;&emsp;guest ok = Yes<br />&emsp;&emsp;read only = Yes</code></p>
<p>Create the directory <em>/var/spool/samba/print</em> and set its permissions with the following two commands:</p>
<p><code>user@ubuntu:~$ sudo mkdir -p /var/spool/samba/print<br />user@ubuntu:~$ sudo chmod 1777 /var/spool/samba/print</code></p>
<p>Restart the Samba server with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/samba restart</code></p>
<p>Set your Samba clients to use a printer driver that outputs generic PostScript. Use the the Apple LaserWriter driver on Windows, the Generic PostScript driver on Mac OS X or the Raw Standard driver on Ubuntu.<br /><a href="http://wiki.ubuntuusers.de/CUPS">wiki.ubuntuusers.de</a>, <a href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#id363890" target="_blank">www.samba.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/12/sharing-a-postscript-printer-with-cups-and-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring hard disks with smartmontools</title>
		<link>http://edafe.org/2006/12/monitoring-hard-disks-with-smartmontools/</link>
		<comments>http://edafe.org/2006/12/monitoring-hard-disks-with-smartmontools/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 14:57:46 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[smart]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unr]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1202</guid>
		<description><![CDATA[This post has been updated.
]]></description>
			<content:encoded><![CDATA[<p>This post <a href="./2009/12/monitoring-hard-disks-with-smartmontools-2/">has been updated</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/12/monitoring-hard-disks-with-smartmontools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allowing other users to run sudo</title>
		<link>http://edafe.org/2006/12/allowing-other-users-to-run-sudo/</link>
		<comments>http://edafe.org/2006/12/allowing-other-users-to-run-sudo/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 23:29:50 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1217</guid>
		<description><![CDATA[user@ubuntu:~$ sudo adduser username admin
]]></description>
			<content:encoded><![CDATA[<p><code>user@ubuntu:~$ sudo adduser username admin</code></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/12/allowing-other-users-to-run-sudo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing configuration files with nano</title>
		<link>http://edafe.org/2006/12/editing-configuration-files-with-nano/</link>
		<comments>http://edafe.org/2006/12/editing-configuration-files-with-nano/#comments</comments>
		<pubDate>Sun, 03 Dec 2006 11:11:39 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1185</guid>
		<description><![CDATA[There are many different tools that you can use to edit configuration files. Because of its simplicity, I personally like to use Nano:
user@ubuntu:~$ sudo nano /path/to/the/file
You can change the default settings for nano by editing its configuration file. For example, to stop nano from wrapping text simply make the following changes to /etc/nanorc:
## Don't wrap [...]]]></description>
			<content:encoded><![CDATA[<p>There are many different tools that you can use to edit configuration files. Because of its simplicity, I personally like to use Nano:</p>
<p><code>user@ubuntu:~$ sudo nano /path/to/the/file</code></p>
<p>You can change the default settings for nano by editing its configuration file. For example, to stop nano from wrapping text simply make the following changes to <em>/etc/nanorc</em>:</p>
<p><code>## Don't wrap text at all.<br />set nowrap</code></p>
<p><a href="http://www.nano-editor.org/" target="_blank">www.nano-editor.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/12/editing-configuration-files-with-nano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a software RAID-1 array</title>
		<link>http://edafe.org/2006/11/creating-a-software-raid-1-array/</link>
		<comments>http://edafe.org/2006/11/creating-a-software-raid-1-array/#comments</comments>
		<pubDate>Wed, 29 Nov 2006 21:52:04 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1200</guid>
		<description><![CDATA[RAID stands for Redundant Array of Inexpensive Disks and refers to the use of multiple hard disks to share or replicate data between drives.
For RAID-1, you need two partitions of identical size on two separate disks which are not connected to the same IDE/Parallel ATA-bus.
Use cfdisk to create the two partitions /dev/hdb1 and /dev/hdc1. Set [...]]]></description>
			<content:encoded><![CDATA[<p>RAID stands for Redundant Array of Inexpensive Disks and refers to the <a href="http://en.wikipedia.org/wiki/Redundant_array_of_independent_disks" target="_blank">use of multiple hard disks to share or replicate data between drives</a>.</p>
<p>For RAID-1, you need two partitions of identical size on two separate disks which are not connected to the same IDE/Parallel ATA-bus.</p>
<p>Use <em>cfdisk</em> to create the two partitions <em>/dev/hdb1</em> and <em>/dev/hdc1</em>. Set their respective types to <em>FD</em> and do not set their bootable flags. Create the RAID-1 array with the following command:</p>
<p><code>user@ubuntu:~$ sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/hd[bc]1</code></p>
<p>Create a filesystem on the RAID device with the following command:</p>
<p><code>user@ubuntu:~$ sudo mke2fs -j /dev/md0</code></p>
<p>Create an empty directory <em>/raid</em> as a mount point and add the following line to <em>/etc/fstab</em>:</p>
<p><code>/dev/md0 /raid ext3 defaults 0 2</code></p>
<p>Mount your RAID array and check its status with the following commands:</p>
<p><code>user@ubuntu:~$ sudo mount /raid<br />user@ubuntu:~$ sudo mdadm --detail /dev/md0</code></p>
<h3>Monitoring the RAID Array</h3>
<p>If required, start by configuring Postfix to <a href="./?p=1188">redirect mail for the local root user</a>.</p>
<p>Obtain the UUID of your RAID device with the following command:</p>
<p><code>user@ubuntu:~$ sudo mdadm -D /dev/md0</code></p>
<p>Create the file <em>/etc/mdadm/mdadm.conf</em> and add the following three lines, replacing <em>47d1eee2:2cbfr68v:34&#215;75168:142ef912</em> with the UUID of your RAID:</p>
<p><code>DEVICE /dev/hdb1 /dev/hdc1<br />ARRAY /dev/md0 level=raid1 num-devices=2 UUID=47d1eee2:2cbfr68v:34x75168:142ef912<br />MAILADDR root </code></p>
<p>Edit the file <em>/etc/init.d/mdadm</em> and append <em>&#8211;test</em> to the line beginning with <em>start-stop-daemon -S</em>:</p>
<p><code>start-stop-daemon -S -q -p $PIDFILE -x $MDADM -- -F -i $PIDFILE -m $MAIL_TO -f -s --test</code></p>
<p>Restart the mdadm daemon with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/mdadm restart</code></p>
<p>Verify that the local root user has received a test message from the mdadm daemon.</p>
<p>From now on, the mdadm daemon will monitor the integrity of the RAID array and, in the event of any problems, alert the local root user by email.<br /><a href="http://users.piuha.net/martti/comp/ubuntu/en/raid.html" target="_blank">users.piuha.net/martti</a>, <a href="http://www.tldp.net/HOWTO/html_single/Software-RAID-HOWTO/" target="_blank">www.tldp.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/11/creating-a-software-raid-1-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring a static IP address</title>
		<link>http://edafe.org/2006/11/configuring-a-static-ip-address/</link>
		<comments>http://edafe.org/2006/11/configuring-a-static-ip-address/#comments</comments>
		<pubDate>Sun, 26 Nov 2006 23:28:33 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[tcpip]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1215</guid>
		<description><![CDATA[Edit the file /etc/network/interfaces to contain the following entries:
# The primary network interfaceauto eth0iface eth0 inet static&#8195;&#8195;address 192.168.0.20&#8195;&#8195;netmask 255.255.255.0&#8195;&#8195;broadcast 192.168.0.255&#8195;&#8195;gateway 192.168.0.1
Reconfigure the network interfaces with the following command:
user@ubuntu:~$ sudo /etc/init.d/networking restart
www.ubuntuforums.org
]]></description>
			<content:encoded><![CDATA[<p>Edit the file <em>/etc/network/interfaces</em> to contain the following entries:</p>
<p><code># The primary network interface<br />auto eth0<br />iface eth0 inet static<br />&emsp;&emsp;address 192.168.0.20<br />&emsp;&emsp;netmask 255.255.255.0<br />&emsp;&emsp;broadcast 192.168.0.255<br />&emsp;&emsp;gateway 192.168.0.1</code></p>
<p>Reconfigure the network interfaces with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/networking restart</code></p>
<p><a href="http://www.ubuntuforums.org/showthread.php?t=66500" target="_blank">www.ubuntuforums.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/11/configuring-a-static-ip-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling the root account</title>
		<link>http://edafe.org/2006/11/enabling-the-root-account/</link>
		<comments>http://edafe.org/2006/11/enabling-the-root-account/#comments</comments>
		<pubDate>Sun, 19 Nov 2006 23:26:05 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1213</guid>
		<description><![CDATA[Consider the implications of enabling the root account, and then proceed with:
user@ubuntu:~$ sudo passwd root
To disable the root account again, use the following command:
user@ubuntu:~$ sudo passwd -l root
]]></description>
			<content:encoded><![CDATA[<p><a href="https://help.ubuntu.com/community/RootSudo" target="_blank">Consider the implications of enabling the root account</a>, and then proceed with:</p>
<p><code>user@ubuntu:~$ sudo passwd root</code></p>
<p>To disable the root account again, use the following command:</p>
<p><code>user@ubuntu:~$ sudo passwd -l root</code></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/11/enabling-the-root-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba as a file server</title>
		<link>http://edafe.org/2006/11/samba-as-a-file-server/</link>
		<comments>http://edafe.org/2006/11/samba-as-a-file-server/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 20:41:47 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1194</guid>
		<description><![CDATA[Samba enables Linux to speak the Server Message Block (SMB) protocol, which is also used by Windows and Mac OS X to exchange data over a network.
Get the necessary packages with the following command:
user@ubuntu:~$ sudo apt-get install swat netkit-inetd
For an initial configuration, edit the file /etc/samba/smb.conf to contain the following entries:
[global]&#8195;&#8195;workgroup = SAMBA[homes]&#8195;&#8195;comment = Home [...]]]></description>
			<content:encoded><![CDATA[<p>Samba <a href="http://www.itweek.co.uk/itweek/news/2085206/samba-beats-windows" target="_blank">enables Linux to speak the Server Message Block (SMB) protocol</a>, which is also used by Windows and Mac OS X to exchange data over a network.</p>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install swat netkit-inetd</code></p>
<p>For an initial configuration, edit the file <em>/etc/samba/smb.conf</em> to contain the following entries:</p>
<p><code>[global]<br />&emsp;&emsp;workgroup = SAMBA<br />[homes]<br />&emsp;&emsp;comment = Home Directories<br />&emsp;&emsp;valid users = %S<br />&emsp;&emsp;read only = No<br />&emsp;&emsp;create mask = 0640<br />&emsp;&emsp;directory mask = 0750<br />&emsp;&emsp;browseable = No</code></p>
<p>Continue by adding local users to the <em>smbpasswd</em> file:</p>
<p><code>user@ubuntu:~$ sudo smbpasswd -a user</code></p>
<p>Restart the Samba server with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/samba restart</code></p>
<p>The server ubuntu now joins the SAMBA workgroup, giving users who have been added to the <em>smbpasswd</em> file access to their respective home directories.</p>
<h4>Using SWAT</h4>
<p>Using the Samba Web Administration Tool (SWAT), you can access help, obtain status information and change the configuration of your Samba server. Use a web browser to access <a href="http://localhost:901/" target="_blank">http://localhost:901/</a> and <a href="./?p=1213">log in as the local root user</a>.<br />In principle, SWAT can also be reached from other machines on your local network. However, such connections are vulnerable to password sniffing because of the clear text protocol that SWAT uses to authenticate users.<br /><a href="http://www.samba.org/samba/docs/using_samba/toc.html" target="_blank">www.samba.org</a>, <a href="http://copia.ogbuji.net/blog/2006-01-26/The_madnes" target="_blank">copia.ogbuji.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/11/samba-as-a-file-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing default permissions</title>
		<link>http://edafe.org/2006/10/changing-default-permissions/</link>
		<comments>http://edafe.org/2006/10/changing-default-permissions/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 10:31:07 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[rights]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1219</guid>
		<description><![CDATA[Change the default permissions for your installation by editing the value for umask in /etc/profiles and /etc/login.defs.lists.ubuntu.com
]]></description>
			<content:encoded><![CDATA[<p>Change the default permissions for your installation by editing the value for umask in <em>/etc/profiles</em> and <em>/etc/login.defs</em>.<br /><a href="https://lists.ubuntu.com/archives/kubuntu-users/2006-May/005504.html" target="_blank">lists.ubuntu.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/10/changing-default-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting the time zone</title>
		<link>http://edafe.org/2006/10/setting-the-time-zone/</link>
		<comments>http://edafe.org/2006/10/setting-the-time-zone/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 13:20:33 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1209</guid>
		<description><![CDATA[Set the local time zone with the following command:
user@ubuntu:~$ sudo tzconfig
www.debian-administration.org
]]></description>
			<content:encoded><![CDATA[<p>Set the local time zone with the following command:</p>
<p><code>user@ubuntu:~$ sudo tzconfig</code></p>
<p><a href="http://www.debian-administration.org/articles/213" target="_blank">www.debian-administration.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/10/setting-the-time-zone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirecting mail for the local root user</title>
		<link>http://edafe.org/2006/09/redirecting-mail-for-the-local-root-user/</link>
		<comments>http://edafe.org/2006/09/redirecting-mail-for-the-local-root-user/#comments</comments>
		<pubDate>Fri, 29 Sep 2006 22:18:59 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unr]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1188</guid>
		<description><![CDATA[This post has been updated.
]]></description>
			<content:encoded><![CDATA[<p>This post <a href="./2010/01/redirecting-mail-for-the-local-root-user-2/">has been updated</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/09/redirecting-mail-for-the-local-root-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Public/private key authentication with SSH</title>
		<link>http://edafe.org/2006/09/publicprivate-key-authentication-with-ssh/</link>
		<comments>http://edafe.org/2006/09/publicprivate-key-authentication-with-ssh/#comments</comments>
		<pubDate>Mon, 25 Sep 2006 19:31:42 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unr]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1190</guid>
		<description><![CDATA[SSH is a protocol that enables secure logins to your computer over a network. SSH supports the use of public/private key pairs for user authentication. Private keys are kept locally, while public keys are stored on the remote machine.
On the Local Machine
Use the command ssh-keygen -t dsa to generate a key pair for the local [...]]]></description>
			<content:encoded><![CDATA[<p>SSH is a protocol that enables secure logins to your computer over a network. SSH supports the use of <a href="http://en.wikipedia.org/wiki/Public-key_cryptography" target="_blank">public/private key pairs for user authentication</a>. Private keys are kept locally, while public keys are stored on the remote machine.</p>
<h4>On the Local Machine</h4>
<p>Use the command <em>ssh-keygen -t dsa</em> to generate a key pair for the local user. Use an appropriate passphrase to secure your private key (<a href="http://www.snailbook.com/faq/no-passphrase.auto.html#no-biscuit" target="_blank">don&rsquo;t be tempted to use an empty passphrase</a>).<br />Set the permissions for the private key file with the following command:</p>
<p><code>user@ubuntu:~$ chmod 600 ~/.ssh/id_dsa</code></p>
<h4>On the Remote Machine</h4>
<p>Get the necessary packages with the following command:</p>
<p><code>user@ubuntu:~$ sudo apt-get install ssh</code></p>
<p>Copy the public key file <em>~/.ssh/id_dsa.pub</em> from the local to the remote machine.</p>
<p>On the remote machine, move and rename the file with the following command:</p>
<p><code>user@ubuntu:~$ mv id_dsa.pub .ssh/authorized_keys2</code></p>
<p>Set the permissions for the file with the following command:</p>
<p><code>user@ubuntu:~$ chmod 600 ~/.ssh/authorized_keys2</code></p>
<p>Add the user <em>user</em> to the group ssh:</p>
<p><code>user@ubuntu:~$ sudo adduser user ssh</code></p>
<p>Get the file <em>sshd_config</em> and move it to <em>/etc/ssh/</em>:</p>
<p><code>user@ubuntu:~# sudo wget &quot;<a href="http://edafe.org/wp-content/uploads/2006/09/sshd_config" target="_blank">http://edafe.org/wp-content/uploads/2006/09/sshd_config</a>&quot;<br />user@ubuntu:~# sudo mv sshd_config /etc/ssh/</code></p>
<p>The downloaded file contains the following changes from the Ubuntu default configuration:</p>
<p><code>LogLevel VERBOSE<br />AllowGroups ssh<br />LoginGraceTime 20<br />PermitRootLogin no<br />MaxAuthTries 1<br />RSAAuthentication no<br />PasswordAuthentication no<br />X11 Forwarding no<br />TCPKeepAlive yes<br />ClientAliveInterval 15<br />ClientAliveCountMax 3<br />MaxStartups 3<br />UsePAM no</code></p>
<p>Setting these options makes root logins impossible. Only users belonging to the group ssh may establish a connection. Access to the remote machine is strictly tied to the private key and the passphrase used to encrypt it.</p>
<p>Next, restart the SSH server on the remote machine with the following command:</p>
<p><code>user@ubuntu:~$ sudo /etc/init.d/ssh restart</code></p>
<p>You should now be able to log into the remote machine using the private key stored on the local machine:</p>
<p><code>user@ubuntu:~$ ssh remote.machine<br />Enter passphrase for key '/home/user/.ssh/id_dsa':</code></p>
<p>The book <em><a href="http://oreilly.com/catalog/9780596008956/" target="_blank">SSH The Secure Shell by Daniel Barrett, Richard Silverman and Robert Byrnes</a></em> is useful as a reference text and has information on other clever stuff you can do with SSH.<br /><a href="http://www-128.ibm.com/developerworks/linux/library/l-keyc.html" target="_blank">www.ibm.com/developerworks/linux/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/09/publicprivate-key-authentication-with-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OOo off the wall</title>
		<link>http://edafe.org/2006/06/ooo-off-the-wall/</link>
		<comments>http://edafe.org/2006/06/ooo-off-the-wall/#comments</comments>
		<pubDate>Tue, 27 Jun 2006 19:18:08 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[openoffice]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=2939</guid>
		<description><![CDATA[OpenOffice.org is a multi-platform application. These articles, written by Bruce Byfield for Linux Journal, are also applicable to OpenOffice.org installations on other platforms.
Setting up page styles in OOo Writer, Bullet proof templates, Style is everything, right?, Fonts of wisdom, Building characters, Shooting the sun, Paragraph styles, Part II, It&#8217;s numbering, but not as we know [...]]]></description>
			<content:encoded><![CDATA[<p>OpenOffice.org is a multi-platform application. These articles, <a href="http://www.linuxjournal.com/googlesearch?cx=014164207538395607518%3Aw82fvojcgcu&#038;cof=FORID%3A11&#038;as_q=openoffice.org" target="_blank">written by Bruce Byfield for Linux Journal</a>, are also applicable to OpenOffice.org installations on other platforms.</p>
<p><a href="http://www.linuxjournal.com/article/7203" target="_blank">Setting up page styles in OOo Writer</a>, <a href="http://www.linuxjournal.com/article/7447" target="_blank">Bullet proof templates</a>, <a href="http://www.linuxjournal.com/article/7488" target="_blank">Style is everything, right?</a>, <a href="http://www.linuxjournal.com/article/7535" target="_blank">Fonts of wisdom</a>, <a href="http://www.linuxjournal.com/article/7576" target="_blank">Building characters</a>, <a href="http://www.linuxjournal.com/article/7599" target="_blank">Shooting the sun</a>, <a href="http://www.linuxjournal.com/article/7634" target="_blank">Paragraph styles, Part II</a>, <a href="http://www.linuxjournal.com/article/7659" target="_blank">It&rsquo;s numbering, but not as we know it</a>, <a href="http://www.linuxjournal.com/article/7733" target="_blank">Getting in the frame</a>, <a href="http://www.linuxjournal.com/article/7759" target="_blank">The outlining and the ecstasy</a>, <a href="http://www.linuxjournal.com/article/7802" target="_blank">Macros and add-ons</a>, <a href="http://www.linuxjournal.com/article/7850" target="_blank">Floating windows</a>, <a href="http://www.linuxjournal.com/article/7915" target="_blank">My objects all sublime</a>, <a href="http://www.linuxjournal.com/article/8012" target="_blank">ToCs, indexes and bibliographies in OOo Writer</a>, Fielding questions <a href="http://www.linuxjournal.com/article/8071" target="_blank">Part 1</a> <a href="http://www.linuxjournal.com/article/8112" target="_blank">Part 2</a> <a href="http://www.linuxjournal.com/article/8154" target="_blank">Part 3</a> <a href="http://www.linuxjournal.com/article/8238" target="_blank">Part 4</a>, Tabling the notion <a href="http://www.linuxjournal.com/article/8298" target="_blank">Part 1</a> <a href="http://www.linuxjournal.com/article/8336" target="_blank">Part 2</a>, <a href="http://www.linuxjournal.com/article/8492" target="_blank">Recovering hidden treasures</a>, <a href="http://www.linuxjournal.com/article/8575" target="_blank">Back to school with bibliographies</a>, <a href="http://www.linuxjournal.com/article/8646" target="_blank">Adding AutoText to your work flow</a>, <a href="http://www.linuxjournal.com/article/8688" target="_blank">Domesticating Autocorrect</a>, <a href="http://www.linuxjournal.com/article/8735" target="_blank">Master documents</a>, <a href="http://www.linuxjournal.com/article/8791" target="_blank">Find and replace</a>, <a href="http://www.linuxjournal.com/article/8911" target="_blank">That&rsquo;s your version-document control in OOo Writer</a>, <a href="http://www.linuxjournal.com/node/1005665" target="_blank">Paragraph and page spacing</a>, <a href="http://www.linuxjournal.com/content/automating-creation-slide-shows-openofficeorg" target="_blank">Automating the creation of slide shows</a>, <a href="http://www.linuxjournal.com/content/openofficeorg-impress-using-master-slides" target="_blank">Using master slides</a>, <a href="http://www.linuxjournal.com/content/extensions-openofficeorg-draw" target="_blank">Extensions for OOo Draw</a>, <a href="http://www.linuxjournal.com/content/openofficeorg-template-collections" target="_blank">Template collections</a>, <a href="http://www.linuxjournal.com/content/new-add-ons-openofficeorg-writer" target="_blank">New add-ons for OOo Writer</a>, <a href="http://www.linuxjournal.com/node/1000444" target="_blank">Text flow in OOo Writer</a>, <a href="http://www.linuxjournal.com/node/1005895" target="_blank">Basic arithmetic and statistic functions</a>, <a href="http://www.linuxjournal.com/node/1000428" target="_blank">Creating business cards</a>, <a href="http://www.linuxjournal.com/content/rounding-numbers-openofficeorg-calc" target="_blank">Rounding off numbers</a>, <a href="http://www.linuxjournal.com/node/1000252" target="_blank">Pivot tables by another name</a>, <a href="http://www.linuxjournal.com/content/openofficeorg-extensions-writers-tools" target="_blank">Writer&rsquo;s tools</a>, <a href="http://www.linuxjournal.com/content/extensions-openofficeorg-impress" target="_blank">Extensions for OOo Impress&rsquo;s tools</a>, <a href="http://www.linuxjournal.com/node/1000114" target="_blank">Manipulating lists in OpenOffice.org Calc</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/06/ooo-off-the-wall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CLI magic: daily aliases</title>
		<link>http://edafe.org/2005/12/cli-magic-daily-aliases/</link>
		<comments>http://edafe.org/2005/12/cli-magic-daily-aliases/#comments</comments>
		<pubDate>Wed, 14 Dec 2005 14:42:24 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=766</guid>
		<description><![CDATA[&#8220;GNU programs are rife with additional options. Some of these options are so useful you may want to create an alias.&#8221; Keith Winston manages to save a lot of time working at the shell.www.linux.com
]]></description>
			<content:encoded><![CDATA[<p>&ldquo;GNU programs are rife with additional options. Some of these options are so useful you may want to create an alias.&rdquo; Keith Winston manages to save a lot of time working at the shell.<br /><a href="http://www.linux.com/article.pl?sid=05/12/02/2152230" target="_blank">www.linux.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2005/12/cli-magic-daily-aliases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoiding Windows email viruses with Mozilla Mail</title>
		<link>http://edafe.org/2005/10/avoiding-windows-email-viruses-with-mozilla-mail/</link>
		<comments>http://edafe.org/2005/10/avoiding-windows-email-viruses-with-mozilla-mail/#comments</comments>
		<pubDate>Tue, 25 Oct 2005 18:38:14 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=3707</guid>
		<description><![CDATA[&#8220;The users that I support would double-click on a landmine to see what it did.&#8221; Phil Jones and Vidar Braut Haarr explain how to stop viruses from spreading to your computer by enlisting the help of Mozilla Mail and adopting a common sense approach.www.pjls16812.pwp.blueyonder.co.uk
]]></description>
			<content:encoded><![CDATA[<p>&ldquo;The users that I support would double-click on a landmine to see what it did.&rdquo; Phil Jones and Vidar Braut Haarr explain how to stop viruses from spreading to your computer by enlisting the help of Mozilla Mail and adopting a common sense approach.<br /><a href="http://www.pjls16812.pwp.blueyonder.co.uk/mozilla/">www.pjls16812.pwp.blueyonder.co.uk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2005/10/avoiding-windows-email-viruses-with-mozilla-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OpenOffice.org 1.1.5</title>
		<link>http://edafe.org/2005/10/installing-openofficeorg-115/</link>
		<comments>http://edafe.org/2005/10/installing-openofficeorg-115/#comments</comments>
		<pubDate>Thu, 20 Oct 2005 17:21:14 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[legacy]]></category>
		<category><![CDATA[office]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=3687</guid>
		<description><![CDATA[For those unable to use a later version of OpenOffice.org, instructions for installing OpenOffice.org 1.1.5 are still available. Everyone else should upgrade to the latest version.
]]></description>
			<content:encoded><![CDATA[<p>For those unable to use a later version of OpenOffice.org, instructions for <a href="http://edafe.org/openofficeorg-115/">installing OpenOffice.org 1.1.5 are still available</a>. Everyone else <a href="http://download.openoffice.org/">should upgrade to the latest version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2005/10/installing-openofficeorg-115/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
