<?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; ubuntu</title>
	<atom:link href="http://edafe.org/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://edafe.org</link>
	<description>edafe.org is the personal site of Edafe Knabe.</description>
	<lastBuildDate>Fri, 03 Feb 2012 08:24:13 +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>Windows applications making GRUB 2 unbootable</title>
		<link>http://edafe.org/2010/08/windows-applications-making-grub-2-unbootable/</link>
		<comments>http://edafe.org/2010/08/windows-applications-making-grub-2-unbootable/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 20:03:05 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[antifeature]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[destruction]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[malpractice]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=5837</guid>
		<description><![CDATA[&#8220;We need to defend ourselves against the predatory practices of some companies making us look bad: a relatively small number of people do enough detective work to realise that it&#8217;s the fault of a particular Windows application, but many more &#8230; <a href="http://edafe.org/2010/08/windows-applications-making-grub-2-unbootable/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&ldquo;We need to defend ourselves against the predatory practices of some companies making us look bad: a relatively small number of people do enough detective work to realise that it&rsquo;s the fault of a particular Windows application, but many more simply blame our operating system because it won&rsquo;t start any more.&rdquo; Debian developer Colin Watson asks for your help in an effort to mitigate the problems caused by <a href="http://wiki.mako.cc/antifeatures" target="_blank">antifeatures built into Windows software</a> that result in broken Windows/Linux double-boot systems.<br /><a href="http://www.chiark.greenend.org.uk/ucgi/~cjwatson/blosxom/debian/2010-08-28-windows-applications-making-grub2-unbootable.html" target="_blank">www.chiark.greenend.org.uk/ucgi/~cjwatson/blosxom</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2010/08/windows-applications-making-grub-2-unbootable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 &#8230; <a href="http://edafe.org/2010/01/redirecting-mail-for-the-local-root-user-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 &#8230; <a href="http://edafe.org/2009/12/monitoring-hard-disks-with-smartmontools-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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>Desktop Linux for the Windows power user</title>
		<link>http://edafe.org/2009/06/desktop-linux-for-the-windows-power-user/</link>
		<comments>http://edafe.org/2009/06/desktop-linux-for-the-windows-power-user/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 08:33:25 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=5652</guid>
		<description><![CDATA[&#8220;As a lifelong Windows user, system builder, ex-gamer, and performance freak, I&#8217;m not drinking anyone&#8217;s Kool-Aid. I just want the most amount of control over my system as possible, and at this point in time, Ubuntu is the best follow-up &#8230; <a href="http://edafe.org/2009/06/desktop-linux-for-the-windows-power-user/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&ldquo;As a lifelong Windows user, system builder, ex-gamer, and performance freak, I&rsquo;m not drinking anyone&rsquo;s Kool-Aid. I just want the most amount of control over my system as possible, and at this point in time, Ubuntu is the best follow-up to Windows XP.&rdquo;  Adam Overa walks the Windows user through the Ubuntu installation process from downloading the CD image to finding help online.<br /><a href="http://www.tomshardware.com/reviews/ubuntu-linux-guide,2293.html" target="_blank">www.tomshardware.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2009/06/desktop-linux-for-the-windows-power-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Outlaws 92: New User Special</title>
		<link>http://edafe.org/2009/05/linux-outlaws-92-new-user-special/</link>
		<comments>http://edafe.org/2009/05/linux-outlaws-92-new-user-special/#comments</comments>
		<pubDate>Sat, 23 May 2009 11:08:29 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=5565</guid>
		<description><![CDATA[&#8220;We tell you how to burn and install your first distribution, we try to explain some often used terms as well as some philosophical and political issues and we cover the basic concepts behind the OS.&#8221; Dan and Fab give &#8230; <a href="http://edafe.org/2009/05/linux-outlaws-92-new-user-special/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&ldquo;We tell you how to burn and install your first distribution, we try to explain some often used terms as well as some philosophical and political issues and we cover the basic concepts behind the OS.&rdquo; Dan and Fab give an introduction to Linux for new users.<br /><a href="http://linuxoutlaws.com/podcast/92" target="_blank">linuxoutlaws.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2009/05/linux-outlaws-92-new-user-special/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux is for everyone</title>
		<link>http://edafe.org/2008/10/ubuntu-linux-is-for-everyone/</link>
		<comments>http://edafe.org/2008/10/ubuntu-linux-is-for-everyone/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 23:18:28 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wubi]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=4446</guid>
		<description><![CDATA[Ubuntu is a relatively new flavour of Linux. Since the release of &#8216;Warty Warthog&#8217; in October 2004, it has become the most popular Linux distribution worldwide. Similar to its parent, Debian GNU/Linux, Ubuntu is based entirely on free software. It &#8230; <a href="http://edafe.org/2008/10/ubuntu-linux-is-for-everyone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu is a relatively new flavour of Linux. <a href="https://lists.ubuntu.com/archives/ubuntu-announce/2004-October/000003.html" target="_blank">Since the release of &#8216;Warty Warthog&#8217;</a> in October 2004, it has become the most popular Linux distribution worldwide. Similar to its parent, Debian GNU/Linux, Ubuntu is based entirely on free software. It inherits outstanding package management and provides one-click access to thousands of downloadable applications.<br />Ubuntu can be installed as an <a href="http://wubi-installer.org/" target="_blank">application inside an existing Windows installation</a>. This provides new users with a great opportunity to try Ubuntu at no risk to their existing setup. Ubuntu 8.10 (Intrepid Ibex) is the latest version and available for download from today.<br /><a href="http://www.ubuntu.com/" target="_blank">www.unbuntu.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2008/10/ubuntu-linux-is-for-everyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Outlaws</title>
		<link>http://edafe.org/2008/10/linux-outlaws/</link>
		<comments>http://edafe.org/2008/10/linux-outlaws/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 00:54:11 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=3723</guid>
		<description><![CDATA[&#8220;Linux Outlaws is a podcast about Linux and free and open source software. We are normal users like yourself rather than part of the in-crowd of community leaders and hardcore kernel hackers.&#8221; Dan Lynch and Fabian Scherschel present this weekly &#8230; <a href="http://edafe.org/2008/10/linux-outlaws/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&ldquo;Linux Outlaws is a podcast about Linux and free and open source software. We are normal users like yourself rather than part of the in-crowd of community leaders and hardcore kernel hackers.&rdquo; Dan Lynch and Fabian Scherschel present this weekly podcast for current and future users of the Linux operating system.<br /><a href="http://linuxoutlaws.com/" target="_blank">linuxoutlaws.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2008/10/linux-outlaws/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switch to Ubuntu Linux not Apple Mac OS</title>
		<link>http://edafe.org/2008/10/switch-to-ubuntu-linux-not-apple-mac-os/</link>
		<comments>http://edafe.org/2008/10/switch-to-ubuntu-linux-not-apple-mac-os/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 21:20:16 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=3591</guid>
		<description><![CDATA[&#8220;Umpteen number of reports have been published telling people why they should consider switching to the Mac OS now that Vista has failed.&#8221; Prosenjit Bhattacharyya suggests Ubuntu as another alternative.prosenjit23.wordpress.com]]></description>
			<content:encoded><![CDATA[<p>&ldquo;Umpteen number of reports have been published telling people why they should consider switching to the Mac OS now that Vista has failed.&rdquo; Prosenjit Bhattacharyya suggests Ubuntu as another alternative.<br /><a href="http://prosenjit23.wordpress.com/2008/10/17/switch-to-ubuntu-linux-not-apple-mac-os/" target="_blank">prosenjit23.wordpress.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2008/10/switch-to-ubuntu-linux-not-apple-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardy Heron makes Linux worth another look</title>
		<link>http://edafe.org/2008/05/hardy-heron-makes-linux-worth-another-look/</link>
		<comments>http://edafe.org/2008/05/hardy-heron-makes-linux-worth-another-look/#comments</comments>
		<pubDate>Wed, 07 May 2008 21:59:27 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lts]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1173</guid>
		<description><![CDATA[&#8220;If you&#8217;ve flirted with the idea of switching your desktop operating system to Linux but never took the leap, the time is now.&#8221; Kevin Purdy highlights key features of the latest Ubuntu Long Term Support (LTS) release.lifehacker.com]]></description>
			<content:encoded><![CDATA[<p>&ldquo;If you&rsquo;ve flirted with the idea of switching your desktop operating system to Linux but never took the leap, the time is now.&rdquo; Kevin Purdy highlights key features of the latest Ubuntu Long Term Support (LTS) release.<br /><a href="http://lifehacker.com/383769/hardy-heron-makes-linux-worth-another-look" target="_blank">lifehacker.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2008/05/hardy-heron-makes-linux-worth-another-look/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 &#8230; <a href="http://edafe.org/2007/02/installing-vmware-tools-for-a-ubuntu-guest/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 &#8230; <a href="http://edafe.org/2006/12/time-synchronisation-with-ntp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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:~$ &#8230; <a href="http://edafe.org/2006/12/sharing-a-postscript-printer-with-cups-and-samba/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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. &#8230; <a href="http://edafe.org/2006/12/editing-configuration-files-with-nano/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 &#8230; <a href="http://edafe.org/2006/11/creating-a-software-raid-1-array/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 &#8230; <a href="http://edafe.org/2006/11/samba-as-a-file-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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>Thoughts on moving from Debian to Ubuntu Server</title>
		<link>http://edafe.org/2006/09/thoughts-on-moving-from-debian-to-ubuntu-server/</link>
		<comments>http://edafe.org/2006/09/thoughts-on-moving-from-debian-to-ubuntu-server/#comments</comments>
		<pubDate>Tue, 26 Sep 2006 22:03:45 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1179</guid>
		<description><![CDATA[&#8220;If Canonical keeps its update schedule and support commitments along with the legendary Debian robustness, we may have a keeper.&#8221; Staff at Advosys Consulting are considering Ubuntu for entirely practical reasons.www.advosys.ca]]></description>
			<content:encoded><![CDATA[<p>&ldquo;If Canonical keeps its update schedule and support commitments along with the legendary Debian robustness, we may have a keeper.&rdquo; Staff at Advosys Consulting are considering Ubuntu for entirely practical reasons.<br /><a href="http://www.advosys.ca/viewpoints/2006/08/debian-to-ubuntu" target="_blank">www.advosys.ca</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/09/thoughts-on-moving-from-debian-to-ubuntu-server/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 &#8230; <a href="http://edafe.org/2006/09/publicprivate-key-authentication-with-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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</p>
<p>AllowGroups ssh<br />
LoginGraceTime 20<br />
PermitRootLogin no<br />
MaxAuthTries 1</p>
<p>RSAAuthentication no</p>
<p>PasswordAuthentication no</p>
<p>X11 Forwarding no<br />
TCPKeepAlive yes<br />
ClientAliveInterval 15<br />
ClientAliveCountMax 3</p>
<p>MaxStartups 3</p>
<p>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>Open Source Ubuntu</title>
		<link>http://edafe.org/2006/08/open-source-ubuntu/</link>
		<comments>http://edafe.org/2006/08/open-source-ubuntu/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 22:02:06 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[experience]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1177</guid>
		<description><![CDATA[&#8220;Ubuntu has been the most popular distro of Linux since 2005, and since I made the switch last year those tearful evenings in front of the computer screen have become a distant memory.&#8221; Becky Hogges describes how Ubuntu has put &#8230; <a href="http://edafe.org/2006/08/open-source-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&ldquo;Ubuntu has been the most popular distro of Linux since 2005, and since I made the switch last year those tearful evenings in front of the computer screen have become a distant memory.&rdquo; Becky Hogges describes how Ubuntu has put a smile back on her face.<br /><a href="http://www.opendemocracy.net/media/ubuntu_3574.jsp" target="_blank">www.opendemocracy.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/08/open-source-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Dapper: ready for the long haul</title>
		<link>http://edafe.org/2006/07/ubuntu-dapper-ready-for-the-long-haul/</link>
		<comments>http://edafe.org/2006/07/ubuntu-dapper-ready-for-the-long-haul/#comments</comments>
		<pubDate>Tue, 04 Jul 2006 22:00:44 +0000</pubDate>
		<dc:creator>edafe</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[dapper]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lts]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://edafe.org/?p=1175</guid>
		<description><![CDATA[&#8220;Overall, I&#8217;ve found Ubuntu 6.06 LTS to be a solid operating system. It&#8217;s easy to use, has a great selection of software available, and generally &#8216;just works&#8217;.&#8221; Joe Brockmeier reviews Ubuntu 6.06 Long Term Support.www.linux.com]]></description>
			<content:encoded><![CDATA[<p>&ldquo;Overall, I&rsquo;ve found Ubuntu 6.06 LTS to be a solid operating system. It&rsquo;s easy to use, has a great selection of software available, and generally &lsquo;just works&rsquo;.&rdquo; Joe Brockmeier reviews Ubuntu 6.06 Long Term Support.<br /><a href="http://www.linux.com/articles/54939" target="_blank">www.linux.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://edafe.org/2006/07/ubuntu-dapper-ready-for-the-long-haul/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

