<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Roachys Weblog &#187; Linux</title>
	<atom:link href="http://blog.roachy.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.roachy.net</link>
	<description>A digital notebook of technical experiences</description>
	<lastBuildDate>Wed, 02 Jun 2010 14:32:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.roachy.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9f441d6d96c5ab0a3564bf350dd9249d?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Roachys Weblog &#187; Linux</title>
		<link>http://blog.roachy.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.roachy.net/osd.xml" title="Roachys Weblog" />
	<atom:link rel='hub' href='http://blog.roachy.net/?pushpress=hub'/>
		<item>
		<title>Free Brick Level backups on Exchange 2003/SBS 2003</title>
		<link>http://blog.roachy.net/2010/01/25/free-brick-level-backups-on-exchange-2003sbs-2003/</link>
		<comments>http://blog.roachy.net/2010/01/25/free-brick-level-backups-on-exchange-2003sbs-2003/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:32:03 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[BackupPC]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Exmerge]]></category>

		<guid isPermaLink="false">http://blog.roachy.net/?p=170</guid>
		<description><![CDATA[Free Brick Level backups on Exchange 2003/SBS 2003 using exmerge and backuppc<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=170&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen so many people attempt to restore Exchange and fail using Microsofts built in tools, or come unstuck because they want to restore a single mailbox, that I thought I&#8217;d document the free method of backing up Exchange that we use, so that it will hopefully help others.</p>
<p>One of the tools available from Microsoft free is Exmerge.  It allows individual mailboxes to be individually exported to PST files, which can then either be re-imported back into Exchange or simply opened in Outlook.  Exmerge is available from <a href="http://www.microsoft.com/downloads/details.aspx?familyid=429163ec-dcdf-47dc-96da-1c12d67327d5&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=429163ec-dcdf-47dc-96da-1c12d67327d5&amp;displaylang=en</a></p>
<p>Extract and save to the Exchsrv/bin directory, and when the appropriate mailboxes have been selected, destinations set save the configuration.  This will create an exmerge.ini file.</p>
<p>This can then be scripted in a batch file and run as a scheduled task.  I create a folder on the local disk of the Exchange server (although this can be done to a mapped drive) for each day I want the backup to run.</p>
<p>My exmon.bat file reads:</p>
<blockquote><p><strong>D:\exchsrvr\bin\exmerge.exe -F C:\scripts\exmon\exmerge.ini -B</strong></p></blockquote>
<p>Which runs the exmerge.exe, with the options specified in scripts\exmon\exmerge.ini and runs the script as a batch job using the -B switch.</p>
<p>To clean the folder prior to running, I have a separate batch file that runs earlier on the same day that runs</p>
<blockquote><p><strong>del /F /Q /S z:\Exchange\exmon\*.*</strong></p></blockquote>
<p>Subsequently to back up the PST files to a separate server I use the excellent BackupPC running on a Debian server.  Installation instructions for Debian are here:<a href="http://www.debianhelp.co.uk/backuppc.htm"> http://www.debianhelp.co.uk/backuppc.htm</a></p>
<p>The BackupPC box is confugured to access the SMB share that the PST&#8217;s are stored in, as well as additional file shares on the server.  BackupPC supports incremental backups and backups via a variety of methods (including SSH and rsync, as well as SMB).</p>
<p>It&#8217;s also possible to archive off historic backups for off-site using the archive functions within BackupPC.  As a free solution for backing up mailboxes and beiong able to recover easily (with version control) this is very effective&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=170&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2010/01/25/free-brick-level-backups-on-exchange-2003sbs-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenChange &#8211; the Holy Grail of interoperability with MS Exchange/Linux</title>
		<link>http://blog.roachy.net/2008/11/14/openchange-the-holy-grail-of-interoperability-with-ms-exchangelinux/</link>
		<comments>http://blog.roachy.net/2008/11/14/openchange-the-holy-grail-of-interoperability-with-ms-exchangelinux/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 16:26:49 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[MS Exchange]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=108</guid>
		<description><![CDATA[For a while I&#8217;ve been fighting the good fight with poor stability using the webDav Exchange connection in Novell evolution.  This has now been replaced with a more functional solution (proper native MAPI support) in Ubuntu 8.10 and will be soon in Fedora 10 with OpenChange. Finally, Evolution is behaving as you might expect it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=108&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For a while I&#8217;ve been fighting the good fight with poor stability using the webDav Exchange connection in Novell evolution.  This has now been replaced with a more functional solution (proper native MAPI support) in Ubuntu 8.10 and will be soon in Fedora 10 with OpenChange.</p>
<p>Finally, Evolution is behaving as you might expect it to when connecting to an Exchange server &#8211; the improvements are immense, both in stability and functionality.</p>
<p>The OpenChange site is here for more information:</p>
<p><a href="http://www.openchange.org/index.php?option=com_frontpage&amp;Itemid=1" target="_blank">http://www.openchange.org/index.php?option=com_frontpage&amp;Itemid=1</a></p>
<p>Hopefully this will be an end to using a buggy interface and the all to frequent crashes, along with the curse of occasional missing mail items.  I&#8217;ve only been using it for a day, but already I&#8217;m loving it!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=108&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/11/14/openchange-the-holy-grail-of-interoperability-with-ms-exchangelinux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>Out of the frying pan&#8230;..</title>
		<link>http://blog.roachy.net/2008/09/11/out-of-the-frying-pan/</link>
		<comments>http://blog.roachy.net/2008/09/11/out-of-the-frying-pan/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 08:18:02 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[fedora]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=93</guid>
		<description><![CDATA[Following my scathing comments about Ubuntu and the Debian OpenSSL flaw and my subsequent migration to Fedora&#8230;(http://technicalmumblings.wordpress.com/2008/05/23/goodbye-ubuntu/), I was a little concerned when I read the following: https://www.redhat.com/archives/fedora-announce-list/2008-August/msg00012.html This kind of begs the question, which is the lesser of the 2 evils here?  A security breach can occur on any platform and across many platforms&#8230;..mistakes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=93&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following my scathing comments about Ubuntu and the Debian OpenSSL flaw and my subsequent migration to Fedora&#8230;(<a href="http://technicalmumblings.wordpress.com/2008/05/23/goodbye-ubuntu/">http://technicalmumblings.wordpress.com/2008/05/23/goodbye-ubuntu/</a>), I was a little concerned when I read the following:</p>
<p><a href="https://www.redhat.com/archives/fedora-announce-list/2008-August/msg00012.html">https://www.redhat.com/archives/fedora-announce-list/2008-August/msg00012.html</a></p>
<p>This kind of begs the question, which is the lesser of the 2 evils here?  A security breach can occur on any platform and across many platforms&#8230;..mistakes do happen.  The real trick is how these breaches and vulnerabilities are actually dealt with.  To Debian&#8217;s credit, it dealt with protecting the users as a first priority, whereas in this case Fedora/Red Hat&#8217;s first priority appears to have been covering it&#8217;s own arse, with the users put at risk being the second priority.  Maybe this is the difference between the 2 vendors outlook and corporate responsibilities&#8230;.</p>
<p>There&#8217;s an interesting discussion on Slashdot here:</p>
<p><a href="http://linux.slashdot.org/article.pl?sid=08/09/10/029231">http://linux.slashdot.org/article.pl?sid=08/09/10/029231</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=93&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/09/11/out-of-the-frying-pan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>How to determine the MAC address of a remote machine</title>
		<link>http://blog.roachy.net/2008/08/05/how-to-determine-the-mac-address-of-a-remote-machine/</link>
		<comments>http://blog.roachy.net/2008/08/05/how-to-determine-the-mac-address-of-a-remote-machine/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 12:16:38 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Nbtscan]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=78</guid>
		<description><![CDATA[Sometimes it&#8217;s necessary to discover the MAC address of a remote system on a network quickly (for example when setting up DHCP scope reservations). It&#8217;s fortunately a really easy process to determine this information. First of all, ping the remote host, then run an arp -a at the command line.  This will give you the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=78&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#8217;s necessary to discover the MAC address of a remote system on a network quickly (for example when setting up DHCP scope reservations). It&#8217;s fortunately a really easy process to determine this information.</p>
<p>First of all, ping the remote host, then run an</p>
<p style="padding-left:30px;">arp -a</p>
<p>at the command line.  This will give you the MAC details.  The catch is that this only works on the same subnet &#8211; when trying to do this on a remote subnet (on the other side of a router, etc) you won&#8217;t get a response&#8230;there is a solution for this though, as long as the remote host you want to determine the MAC for is a Windows host.</p>
<p>NBTscan is a tool that can do this (and is available from the repositories on most linux distros (or at least on Debian, Ubuntu and Fedora, and is  also downloadable for Windows <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/78/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/78/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=78&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/08/05/how-to-determine-the-mac-address-of-a-remote-machine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtualising Windows</title>
		<link>http://blog.roachy.net/2008/04/16/virtualising-windows/</link>
		<comments>http://blog.roachy.net/2008/04/16/virtualising-windows/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 08:04:23 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Virtualising Windows]]></category>
		<category><![CDATA[VMWare converter]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=35</guid>
		<description><![CDATA[Managing a Windows environment (2 separate domains, one running a couple of 2003 Servers and Exchange, the other running SBS2003), there are times when I need to run a Windows client.  Not least because the management tools required for our PBX phone systems (an Avaya IP Office and an Alcatel OmniPCX), our CCTV system (RMC), [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=35&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Managing a Windows environment (2 separate domains, one running a couple of 2003 Servers and Exchange, the other running SBS2003), there are times when I need to run a Windows client.  Not least because the management tools required for our PBX phone systems (an Avaya IP Office and an Alcatel OmniPCX), our CCTV system (RMC), our photographic archive (iBase), our EPOS system and Sage Line 50 require windows to run and Wine is insensitive to. There are various other windows specific tools that effectively mean that I need a functional copy of windows to work, rather than beng able to switch over to linux as my sole desktop machine.</p>
<p>At the moment I use a KVM switch to swap between the 2 desktops I use (one is XP the other Ubuntu Hardy Beta).  I spend about 99% of my day in Ubuntu, but can&#8217;t escape windows completely&#8230;.this means 2 machines under the desk &#8211; which at best is not very environmentally sound, and at worst is downright inconvenient.</p>
<p>The solution? well a virtualised copy of Windows running on the Linux box is the obvious solution, but what about all the apps and data accumulated on the Windows machine over the last x years&#8230;..this may seem like a small concern, but it would take a LONG time to reinstall these apps &#8211; because of the custom nature of them they are heavy on configuration time, and while they could be installed, it would be a pain in the backside&#8230;.</p>
<p>Along come the nice people at VMWare though with the Vmware Converter (<a title="VMware Converter" href="http://www.vmware.com/products/converter/" target="_blank">http://www.vmware.com/products/converter/</a>) a tool that simply installs and then allows you to convert a physical install of an OS into a Virtual OS that can then be opened in VMware Workstation, Server or Player!</p>
<p>While it is designed to allow for the virtualisation of server environments this is the perfect solution for the likes of myself who still need to use Windows apps, that aren&#8217;t Wine compatible but REALLY want to ditch the spare Windows machine sat under the desk&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=35&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/04/16/virtualising-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>Insecure email</title>
		<link>http://blog.roachy.net/2008/04/14/insecure-email/</link>
		<comments>http://blog.roachy.net/2008/04/14/insecure-email/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 12:30:31 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[gnupg]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=34</guid>
		<description><![CDATA[Working for a number of clients, it&#8217;s surprising how many people assume that an email sent is secure by default.  The number of people (including e-commerce providers) who feel comfortable sending (and requesting) credit card information via email is quite shocking&#8230; It&#8217;s worth clarifying that sending an email is the digital equivalent of sending a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=34&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working for a number of clients, it&#8217;s surprising how many people assume that an email sent is secure by default.  The number of people (including e-commerce providers) who feel comfortable sending (and requesting) credit card information via email is quite shocking&#8230;</p>
<p>It&#8217;s worth clarifying that sending an email is the digital equivalent of sending a postcard&#8230;.anyone, on any number of the hops between the sender and the recipient, could read the contents of that email with relative ease, in the same way that if you sent a postcard, anyone en route between the sender and the recipient who handles that card could read the contents.  Worse yet, there are methods of spoofing (pretending to be) the recipient mail server &#8211; causing all emails that are destined for the recipient to be captured then forwarded on without the recipient even knowing that this has happened&#8230;.</p>
<p>There are methods of securing email, however &#8211; one of these is worth noting as a free solution &#8211; GNUPG http://www.gnupg.org/ and it is worth considering if you need to send any information that you feel is sensitive.  GNUPG can be used for digital signing of emails (proving that the email is really from you) and also for the encryption of emails using a private key pair.</p>
<p>There are resources on the use of GNUPG on the site, and it can be used on a variety of platforms (Windows, Linux, Mac) etc.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=34&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/04/14/insecure-email/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>SSH Port Forwarding again&#8230;.</title>
		<link>http://blog.roachy.net/2008/03/18/ssh-port-forwarding-again/</link>
		<comments>http://blog.roachy.net/2008/03/18/ssh-port-forwarding-again/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 08:53:00 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firewalls]]></category>
		<category><![CDATA[Port Forwarding]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Wiindows]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=28</guid>
		<description><![CDATA[Another cool article on SSH port forwarding: http://www.cmready.com/polyoperable/?p=7 theres more info on using SSH to proxy outbound connections here: http://www.debuntu.org/2006/04/08/22-ssh-and-port-forwarding-or-how-to-get-through-a-firewall and on creating transparent socks proxys and reverse tunnels here: http://www.linuxlogin.com/linux/admin/sshtunnels.php<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=28&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Another cool article on SSH port forwarding:</p>
<p><a title="http://www.cmready.com/polyoperable/?p=7" href="http://www.cmready.com/polyoperable/?p=7">http://www.cmready.com/polyoperable/?p=7</a></p>
<p>theres more info on using SSH to proxy outbound connections here:</p>
<p><a href="http://www.debuntu.org/2006/04/08/22-ssh-and-port-forwarding-or-how-to-get-through-a-firewall" target="_blank">http://www.debuntu.org/2006/04/08/22-ssh-and-port-forwarding-or-how-to-get-through-a-firewall</a></p>
<p>and on creating transparent socks proxys and reverse tunnels here:</p>
<p><a href="http://www.linuxlogin.com/linux/admin/sshtunnels.php" target="_blank">http://www.linuxlogin.com/linux/admin/sshtunnels.php</a></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=28&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/03/18/ssh-port-forwarding-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>Breaking Firewalls with OpenSSH and Putty</title>
		<link>http://blog.roachy.net/2008/03/06/breaking-firewalls-with-openssh-and-putty/</link>
		<comments>http://blog.roachy.net/2008/03/06/breaking-firewalls-with-openssh-and-putty/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 14:36:13 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=27</guid>
		<description><![CDATA[Just found this interesting article http://souptonuts.sourceforge.net/sshtips.htm<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=27&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just found this interesting article <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://souptonuts.sourceforge.net/sshtips.htm" title="http://souptonuts.sourceforge.net/sshtips.htm">http://souptonuts.sourceforge.net/sshtips.htm</a></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=27&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/03/06/breaking-firewalls-with-openssh-and-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>Evolution &#8211; Could not connect to Exchange backend process&#8230;.</title>
		<link>http://blog.roachy.net/2008/02/27/evolution-could-not-connect-to-exchange-backend-process/</link>
		<comments>http://blog.roachy.net/2008/02/27/evolution-could-not-connect-to-exchange-backend-process/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 08:48:16 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Evolution]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=19</guid>
		<description><![CDATA[This occasionally occurs for me in Evolution when picking up mail from my Exchange server. From this point new emails are displayed but don&#8217;t have any content. The solution &#8211; remove the Exchange directory&#8217;s. This should keep all settings, but then polls the mailbox again to collect content (NOTE: it&#8217;s a good idea to back [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=19&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This occasionally occurs for me in Evolution when picking up mail from my Exchange server.  From this point new emails are displayed but don&#8217;t have any content. The solution &#8211; remove the Exchange directory&#8217;s.  This should keep all settings, but then polls the mailbox again to collect content (NOTE: it&#8217;s a good idea to back up the contents of the /evolution directory first):</p>
<blockquote><p>$evolution &#8211;force-shutdown<br />
$ cd ~/.evolution<br />
$ rm -rfv exchange/</p></blockquote>
<p>Then restart Evolution and it should poll the mailbox and work!</p>
<p>EDIT:  This stopped working &#8211; now I have to run evolution as root and it seems to work again.  Very odd (&amp; not very secure)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=19&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/02/27/evolution-could-not-connect-to-exchange-backend-process/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing the colour of the root prompt in a bash shell</title>
		<link>http://blog.roachy.net/2008/02/25/changing-the-colour-of-the-root-prompt-in-a-bash-shell/</link>
		<comments>http://blog.roachy.net/2008/02/25/changing-the-colour-of-the-root-prompt-in-a-bash-shell/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 11:13:57 +0000</pubDate>
		<dc:creator>Paul Morgan-Roach</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[root prompt]]></category>

		<guid isPermaLink="false">http://technicalmumblings.wordpress.com/?p=15</guid>
		<description><![CDATA[I&#8217;m terrible for forgetting to exit a root session after I&#8217;ve been performing administrative functions on my machine, so I looked for some way of reminding me, and found this simple solution: Edit the /etc/bashrc file to include the following function&#8230;. function setprompt { local RED="[$(tput setaf 1)]" local RESET="[$(tput sgr0)]" if [ `id -u` [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=15&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m terrible for forgetting to exit a root session after I&#8217;ve been performing administrative functions on my machine, so I looked for some way of reminding me, and found this simple solution:</p>
<p>Edit the /etc/bashrc file to include the following function&#8230;.</p>
<blockquote><p><code>function setprompt<br />
{<br />
local RED="[$(tput setaf 1)]"<br />
local RESET="[$(tput sgr0)]"<br />
if [ `id -u` = 0 ] # check if user is root<br />
then<br />
PS1="$RED[u@h:W]$RESET "<br />
else<br />
PS1="[u@h:W]$RESET "<br />
fi<br />
}<br />
setprompt</code></p></blockquote>
<p>This then changes the prompt colour to red (or any colour you like) when logged on as root&#8230;..</p>
<p><a href="http://technicalmumblings.files.wordpress.com/2008/02/screenshot-proachrcfedora-home-proach-2.png" title="Red Shell Prompt"><img src="http://technicalmumblings.files.wordpress.com/2008/02/screenshot-proachrcfedora-home-proach-2.png?w=630" alt="Red Shell Prompt" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/technicalmumblings.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/technicalmumblings.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/technicalmumblings.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/technicalmumblings.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/technicalmumblings.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/technicalmumblings.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/technicalmumblings.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/technicalmumblings.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/technicalmumblings.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/technicalmumblings.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.roachy.net&amp;blog=2880390&amp;post=15&amp;subd=technicalmumblings&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.roachy.net/2008/02/25/changing-the-colour-of-the-root-prompt-in-a-bash-shell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">roachy1979</media:title>
		</media:content>

		<media:content url="http://technicalmumblings.files.wordpress.com/2008/02/screenshot-proachrcfedora-home-proach-2.png" medium="image">
			<media:title type="html">Red Shell Prompt</media:title>
		</media:content>
	</item>
	</channel>
</rss>