<?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>Odzangba Kafui Dake</title>
	<atom:link href="http://odzangba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://odzangba.wordpress.com</link>
	<description>Roaming the streets of Accra</description>
	<lastBuildDate>Mon, 06 May 2013 13:24:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='odzangba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Odzangba Kafui Dake</title>
		<link>http://odzangba.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://odzangba.wordpress.com/osd.xml" title="Odzangba Kafui Dake" />
	<atom:link rel='hub' href='http://odzangba.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Iotop Crashes When Not Run As Root</title>
		<link>http://odzangba.wordpress.com/2011/10/30/iotop-crashes-when-not-run-as-root/</link>
		<comments>http://odzangba.wordpress.com/2011/10/30/iotop-crashes-when-not-run-as-root/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 18:01:28 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[iotop]]></category>
		<category><![CDATA[linus torvalds]]></category>
		<category><![CDATA[root access]]></category>
		<category><![CDATA[taskstats]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=491</guid>
		<description><![CDATA[Welcome to another an-update-broke-me-box post. Iotop now requires root access: :~$ iotop -o Traceback (most recent call last): File "/usr/bin/iotop", line 16, in &#60;module&#62; main() File "/usr/lib/pymodules/python2.6/iotop/netlink.py", line 229, in recv raise err OSError: Netlink error: Operation not permitted (1) To fix it, run iotop as root: sudo iotop -o There&#8217;s a lively debate here [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=491&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Welcome to another an-update-broke-me-box post. Iotop now requires root access:</p>
<p><strong><code>:~$ iotop -o<br />
Traceback (most recent call last):<br />
File "/usr/bin/iotop", line 16, in &lt;module&gt;<br />
main()<br />
File "/usr/lib/pymodules/python2.6/iotop/netlink.py", line 229, in recv<br />
raise err<br />
OSError: Netlink error: Operation not permitted (1)</code></strong></p>
<p>To fix it, run iotop as root:</p>
<p><code><strong>sudo iotop -o</strong></code></p>
<p>There&#8217;s a <a href="https://lkml.org/lkml/2011/10/1/170">lively debate here</a> between the iotop author, <strong>Guillaume Chazarain</strong>, and <strong>Linus Torvalds</strong>  on the pros and cons of requiring root access for throughput statistics. It&#8217;s another linux developer classic with Linus using words like abortion, castration, disaster, utter crap&#8230; makes for a few laughs if you can spare a couple of minutes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/491/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=491&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/10/30/iotop-crashes-when-not-run-as-root/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Download Flash Videos On Ubuntu 11.04</title>
		<link>http://odzangba.wordpress.com/2011/10/18/how-to-download-flash-videos-on-ubuntu-11-04/</link>
		<comments>http://odzangba.wordpress.com/2011/10/18/how-to-download-flash-videos-on-ubuntu-11-04/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 12:11:27 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[tmp]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=484</guid>
		<description><![CDATA[It seems Adobe is on a mission to make downloading Flash videos as difficult as possible for those of us used to grabbing them from /tmp. A few weeks ago, I noticed Flash videos were no longer being saved in the /tmp directory. Instead, they were being placed in the browser&#8217;s cache folder&#8230; minor inconvenience, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=484&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It seems Adobe is on a mission to make downloading Flash videos as difficult as possible for those of us used to grabbing them from <strong>/tmp</strong>. A few weeks ago, I noticed Flash videos were no longer being saved in the <strong>/tmp</strong> directory. Instead, they were being placed in the browser&#8217;s cache folder&#8230; minor inconvenience, life goes on. After a recent update however, the files  are no longer being saved in the cache folder. A quick</p>
<p><code>lsof | grep -i flash</code></p>
<p>gave me:</p>
<p><code>plugin-co 26044          o   17u      REG        8,1  2020248     393786 /tmp/FlashXXxaK1Jq (deleted)</code></p>
<p>You guessed it&#8230; there is no file called <strong>FlashXXxaK1Jq</strong> in the <strong>/tmp</strong> directory. I see what you did there Adobe, nice one. I&#8217;ll spare you most of the technical details but the output indicates that the file is somewhere in the <strong>/proc</strong> directory. Using the process id <strong>26044</strong> (the second field in the output of the <strong>lsof</strong> command), we can hunt down the file <strong>FlashXXxaK1Jq</strong> in the <strong>/proc</strong> directory. So:</p>
<p><code>cd /proc/26044/fd ; ls -l | grep FlashXXxaK1Jq</code></p>
<p>will give you something like:</p>
<p><code>lrwx------ 1 o o 64 2011-10-18 10:30 17 -&gt; /tmp/FlashXXxaK1Jq (deleted)</code></p>
<p>So the flash video is named <strong>17</strong> and being symlinked in a sneaky manner to <strong>/tmp/FlashXXxaK1Jq (deleted)</strong>. Now do something like:</p>
<p><code>cp 17 ~/Videos/funny-youtube-video.flv</code></p>
<p>and you&#8217;re done. Go back to your Videos folder and watch that cat playing the piano to your heart&#8217;s content.</p>
<p>And now, I must cover my tuchis so here goes&#8230; downloading copyrighted material may be illegal where you live.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=484&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/10/18/how-to-download-flash-videos-on-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Ping NETBIOS Names On Ubuntu</title>
		<link>http://odzangba.wordpress.com/2011/05/15/how-to-ping-netbios-names-on-ubuntu/</link>
		<comments>http://odzangba.wordpress.com/2011/05/15/how-to-ping-netbios-names-on-ubuntu/#comments</comments>
		<pubDate>Sun, 15 May 2011 00:40:08 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[netbios]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[winbind]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=465</guid>
		<description><![CDATA[I make heavy use of the ping utility on a daily basis and it absolutely galls me that Ubuntu cannot ping hostnames by default. I need to use the nmblookup utility to find the ip address of the machine I want to ping and then ping that ip address&#8230; primitive, silly, unnecessarily complex&#8230; I feel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=465&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I make heavy use of the <a href="http://en.wikipedia.org/wiki/Ping" target="_blank">ping</a> utility on a daily basis and it absolutely galls me that Ubuntu cannot ping hostnames by default. I need to use the <strong>nmblookup</strong> utility to find the ip address of the machine I want to ping and then ping that ip address&#8230; primitive, silly, unnecessarily complex&#8230; I feel a rant about idiotic default settings and legal gymnastics surrounding the universe repository coming up so I&#8217;ll just get on with the post. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>1) Back up and edit the <strong>/etc/nsswitch.conf</strong> file by copying and pasting the following commands:</p>
<p><code><strong>sudo cp /etc/nsswitch.conf /etc/nsswitch.conf.original</strong></code></p>
<p><code><strong>gksu gedit /etc/nsswitch.conf</strong></code></p>
<p>2) Add <strong><code>wins</code></strong> to the <strong><code>hosts</code></strong> directive:</p>
<p><code><strong>hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4</strong></code></p>
<p>3) Install WINBIND:</p>
<p><code><strong>sudo apt-get install winbind</strong></code></p>
<p>4) Ping away. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/465/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=465&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/05/15/how-to-ping-netbios-names-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Restore GRUB On Ubuntu 11.04</title>
		<link>http://odzangba.wordpress.com/2011/05/14/455/</link>
		<comments>http://odzangba.wordpress.com/2011/05/14/455/#comments</comments>
		<pubDate>Sat, 14 May 2011 23:37:10 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[boot loader]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=455</guid>
		<description><![CDATA[Since version 9.10, Ubuntu uses the GRUB2 boot loader and manager on clean installs. This means my earlier post on how to restore GRUB will not work properly. To restore the boot loader on these versions of Ubuntu (and possibly any debian-based linux distribution that uses GRUB2), you need an Ubuntu 11.04 live disk. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=455&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Since version 9.10, Ubuntu uses the <a title="Ubuntu Wiki Page on GRUB 2" href="https://help.ubuntu.com/community/Grub2" target="_blank">GRUB2</a> boot loader and manager on clean installs. This means my <a title="How to restore GRUB using the Ubuntu Live CD" href="http://odzangba.wordpress.com/2007/03/10/how-to-restore-grub-using-the-ubuntu-live-cd/" target="_blank">earlier post on how to restore GRUB</a> will not work properly. To restore the boot loader on these versions of Ubuntu (and possibly any debian-based linux distribution that uses GRUB2), you need an Ubuntu 11.04 live disk. The 10.10 live disks will work too&#8230; any ubuntu live disk that uses GRUB2 will work. Fire up a terminal once the live disk finishes loading and enter the following commands:</p>
<p>I) Let&#8217;s find where Ubuntu is installed on your hard disk:</p>
<p><strong><code>sudo fdisk -l</code></strong><br />
<code><br />
Device Boot Start End Blocks Id System<br />
/dev/sda1 * 1 2611 20972826 83 Linux<br />
/dev/sda2 2612 60279 463218210 83 Linux<br />
/dev/sda3 60280 60801 4192965 82 Linux swap / Solaris<br />
</code></p>
<p>My ubuntu partition is <strong>/dev/sda1</strong> (it has the asterisk under Boot).</p>
<p>II) Armed with this information, mount the Ubuntu partition:</p>
<p><strong><code>sudo mount /dev/sda1 /mnt</code></strong></p>
<p>III) Install the GRUB2 boot loader:</p>
<p><strong><code>sudo grub-install --root-directory=/mnt /dev/sda</code></strong></p>
<p>That&#8217;s <strong>/dev/sda</strong> &#8212; the hard disk itself, not the ubuntu partition &#8211; /dev/sda1.</p>
<p>IV) Unmount the Ubuntu partition and restart the computer like so:</p>
<p><strong><code>sudo umount /dev/sda1 ; sudo reboot</code></strong></p>
<p>V) If you have more than one OS installed, re-detect OSes like so:</p>
<p><strong><code>sudo update-grub</code></strong></p>
<p>That&#8217;s it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=455&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/05/14/455/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>
	</item>
		<item>
		<title>Manage Multiple Computers With Synergy</title>
		<link>http://odzangba.wordpress.com/2011/01/11/441/</link>
		<comments>http://odzangba.wordpress.com/2011/01/11/441/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 17:02:54 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[shared desktop]]></category>
		<category><![CDATA[synergy]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=441</guid>
		<description><![CDATA[It&#8217;s lightweight, cross-platform and allows me to share one keyboard and mouse among several networked computers&#8230; and it&#8217;s called Synergy. Visit the download page and grab the appropriate installers. Click here for instructions on how to configure your dekstops. Ubuntu users can avoid a text configuration file by installing a GUI configuration app like so: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=441&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s lightweight, cross-platform and allows me to share one keyboard and mouse among several networked computers&#8230;</p>
<p><a href="http://odzangba.files.wordpress.com/2011/01/dsc03742.jpg"><img src="http://odzangba.files.wordpress.com/2011/01/dsc03742.jpg?w=500&#038;h=375" alt="Synergy Desktop" title="Synergy Desktop" width="500" height="375" class="aligncenter size-full wp-image-443" /></a></p>
<p>and it&#8217;s called <a href="http://synergy-foss.org/">Synergy</a>. Visit the <a href="http://synergy-foss.org/pm/projects/synergy/tabs/download">download page</a> and grab the appropriate installers. <a href="http://synergy2.sourceforge.net/running.html">Click here</a> for instructions on how to configure your dekstops. Ubuntu users can avoid a text configuration file by installing a GUI configuration app like so:</p>
<p><strong><code>sudo apt-get install quicksynergy</code></strong></p>
<p>Have fun. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/441/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=441&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/01/11/441/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2011/01/dsc03742.jpg" medium="image">
			<media:title type="html">Synergy Desktop</media:title>
		</media:content>
	</item>
		<item>
		<title>Reset Windows Administrator Password With CHNTPW</title>
		<link>http://odzangba.wordpress.com/2011/01/03/reset-windows-administrator-password-with-chntpw/</link>
		<comments>http://odzangba.wordpress.com/2011/01/03/reset-windows-administrator-password-with-chntpw/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 17:24:53 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[chntpw]]></category>
		<category><![CDATA[password reset]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=433</guid>
		<description><![CDATA[I occasionally have to reset Windows passwords for my colleagues and friends&#8230; it&#8217;s a chore but it has to be done The easiest way to reset a Windows password is to use the Ultimate Boot CD. However, when you can&#8217;t get your hands on an UBCD, you can fire up an Ubuntu LiveUSB, install chntpw, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=433&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I occasionally have to reset Windows passwords for my colleagues and friends&#8230; it&#8217;s a chore but it has to be done The easiest way to reset a Windows password is to use the <strong><a target="blank" href="http://www.ultimatebootcd.com/">Ultimate Boot CD</a></strong>. However, when you can&#8217;t get your hands on an <strong><a target="blank" href="http://www.ultimatebootcd.com/">UBCD</a></strong>, you can fire up an Ubuntu LiveUSB, install <strong>chntpw</strong>, mount the windows <strong>%systemroot%</strong> partition (the one with the <strong>Windows</strong> folder) and reset the password.</p>
<p>According to its manual page,</p>
<blockquote><p> &#8220;<strong>chntpw</strong> is a utility to view some information and change user passwords in a Windows NT/2000 SAM userdatabase file, usually located at \WINDOWS\system32\config\SAM on the Windows file system. In addition it also contains a simple registry editor (same size data writes) and an hex-editor which enables you to fiddle around with bits and bytes in the file as you wish.&#8221;</p></blockquote>
<p>Before we proceed, let&#8217;s make a few assumptions:<br />
1. You are using <strong>Windows 7/Vista</strong><br />
2. Your windows partition is located at <strong>/dev/sda1</strong><br />
3. We&#8217;ll mount it at <strong>/media/mnt/</strong><br />
4. We&#8217;ll reset the <strong>Administrator</strong> account.</p>
<p>Now fire up a LiveUSB/CD/DVD and install <strong>chntpw</strong> via the terminal like so:</p>
<p><strong><code>sudo apt-get install chntpw</code></strong></p>
<p>You can also download the deb <a target="blank" href="http://packages.ubuntu.com/search?keywords=chntpw&amp;suite=default&amp;section=all&amp;arch=any&amp;searchon=names">here</a></p>
<p>Mount the windows partition like so:</p>
<p><strong><br />
<code>sudo ntfs-3g /dev/sda1 /media/mnt ; cd /media/mnt/Windows/System32/config</code></strong></p>
<p>Adjust the device names and folder paths to suit your setup. If you don&#8217;t know your username, chntpw can list all users like so:</p>
<p><strong><code>chntpw -l SAM</code></strong></p>
<p>Reset the <code><strong>Administrator</strong></code> password like so:</p>
<p><strong><code>chntpw -u Administrator SAM</code><br />
</strong><br />
You should get a prompt similar to this:</p>
<p><code>- - - - User Edit Menu:<br />
 1 - Clear (blank) user password<br />
 2 - Edit (set new) user password (careful with this on XP or Vista)<br />
 3 - Promote user (make user an administrator)<br />
 4 - Unlock and enable user account [probably locked now]<br />
 q - Quit editing user, back to user select<br />
Select: [q] &gt; </code></p>
<p>Type <code><strong>1</strong></code> to clear the password. This option has the best chance of success and comes with the least complications. You should get another prompt similar to this if you choose option 1:</p>
<p><code>Hives that have changed:<br />
 #  Name<br />
 0<br />
Write hive files? (y/n) [n] :</code> </p>
<p>Type <code><strong>y</strong></code> and you should get this:</p>
<p><code> 0   - OK</code></p>
<p>Reboot the into Microsoft Windows like so:</p>
<p><strong><code>sudo reboot</code></strong></p>
<p>and create a new password for the Administrator account.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/433/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=433&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/01/03/reset-windows-administrator-password-with-chntpw/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>
	</item>
		<item>
		<title>Fix Samba Not Following Symlinks Error</title>
		<link>http://odzangba.wordpress.com/2011/01/02/fix-samba-not-following-symlinks-error/</link>
		<comments>http://odzangba.wordpress.com/2011/01/02/fix-samba-not-following-symlinks-error/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 15:38:04 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smbd]]></category>
		<category><![CDATA[symlink]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=412</guid>
		<description><![CDATA[I tried to use a symlink in a samba share this afternoon and got the following error: I googled a little and found out the samba developers updated samba early last year to not follow symlinks by default. This was in response to an exploit posted on youtube that allowed /etc/passwd to be downloaded from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=412&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I tried to use a symlink in a samba share this afternoon and got the following error:</p>
<p><a href="http://odzangba.files.wordpress.com/2011/01/symlink-samba.png"><img class="aligncenter size-medium wp-image-413" title="Samba Symlink Error" src="http://odzangba.files.wordpress.com/2011/01/symlink-samba.png?w=300&#038;h=234" alt="Samba Symlink Error" width="300" height="234" /></a><br />
I googled a little and found out the samba developers updated samba early last year to not follow symlinks by default. This was in response to an exploit posted on youtube that allowed <code>/etc/passwd</code> to be downloaded from a remote server if these two parameters are set globally:</p>
<p><code>follow symlinks = yes<br />
wide links = yes</code></p>
<p>Apparently, if a symlink to <code>/etc/passwd</code> is created in a share with these two options set, linux clients will resolve it to the local machine but windows clients will resolve it to the remote host&#8230; bad. So an attacker can use a linux client to create a soft link to <code>/etc/paswd</code> (or some other sensitive system file) in a remote share and use a windows client to download a copy of the remote host&#8217;s passwd file&#8230; very bad.</p>
<p><a href="http://odzangba.files.wordpress.com/2011/01/samba-passwd-insecure.png"><img class="aligncenter size-medium wp-image-414" title="samba-passwd-insecure" src="http://odzangba.files.wordpress.com/2011/01/samba-passwd-insecure.png?w=300&#038;h=85" alt="" width="300" height="85" /></a><br />
The full details can be found <a title="Read official description of exploit." href="http://www.samba.org/samba/news/symlink_attack.html" target="_blank">here</a>. The samba developers&#8217; response was to simply turn these options off by default. This is very inconvenient because symlinks are very useful and simply turning them off is a sloppy way of dealing with a security hole this serious.</p>
<p>To re-enable the symlink functionality and still provide some defence against possible exploits, do not set these two options globally (i.e. in the <code>[global]</code> section of your <code>/etc/samba/smb.conf</code> file). Instead, only set them for individual shares AND ONLY IN CONJUNCTION WITH the parameter <code>read only = yes</code> Finally, disable symlinks for all your shares with write access like so:</p>
<p><code>follow symlinks = no<br />
wide links = no</code></p>
<p>This way, an attacker cannot create soft links in shares that follow symlinks (because of the read-only parameter) and a soft link to <code>/etc/passwd</code> created in a share with write permissions will not resolve to the remote host&#8217;s <code>/etc/passwd</code> file (because the share will not follow symlinks):</p>
<p><a href="http://odzangba.files.wordpress.com/2011/01/samba-passwd-secure.png"><img class="aligncenter size-medium wp-image-415" title="samba-passwd-secure" src="http://odzangba.files.wordpress.com/2011/01/samba-passwd-secure.png?w=300&#038;h=178" alt="" width="300" height="178" /></a></p>
<p>So far we have only fixed a security hole. To get symlinks to actually work, set this parameter in the <code>[global]</code> section of your <code>/etc/samba/smb.conf</code> file:</p>
<p><code>unix extensions = no</code></p>
<p>Here&#8217;s an example of how relevant parts of your /etc/samba/smb.conf file should look:</p>
<p><code>#======================= Global Settings =======================<br />
[global]<br />
unix extensions = no</code></p>
<p><code>#======================= Share Definitions =======================<br />
#Allowing symlinks<br />
[LINK]<br />
path = /media/data/link/<br />
read only = yes<br />
follow symlinks = yes<br />
wide links = yes</code></p>
<p><code>#Disallowing symlinks<br />
[NOLINK]<br />
path = /media/data/nolink/<br />
read only = yes<br />
follow symlinks = no<br />
wide links = no<br />
#==================================================================</code></p>
<p>Don&#8217;t forget to restart samba like so: <code>sudo service smbd restart</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/412/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/412/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=412&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/01/02/fix-samba-not-following-symlinks-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2011/01/symlink-samba.png?w=300" medium="image">
			<media:title type="html">Samba Symlink Error</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2011/01/samba-passwd-insecure.png?w=300" medium="image">
			<media:title type="html">samba-passwd-insecure</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2011/01/samba-passwd-secure.png?w=300" medium="image">
			<media:title type="html">samba-passwd-secure</media:title>
		</media:content>
	</item>
		<item>
		<title>Fix &#8220;undefined symbol: decor_property_to_quad&#8221; Compiz Error</title>
		<link>http://odzangba.wordpress.com/2011/01/02/fix-undefined-symbol-decor_property_to_quad-compiz-error/</link>
		<comments>http://odzangba.wordpress.com/2011/01/02/fix-undefined-symbol-decor_property_to_quad-compiz-error/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 10:52:27 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[compiz]]></category>
		<category><![CDATA[libdecoration0]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=407</guid>
		<description><![CDATA[I was bored last night and upgraded to Ubuntu 10.10. It went too smoothly in my opinion&#8230; things just worked. After installing some updates today however, compiz stopped working with the following error message: Starting gtk-window-decorator compiz: symbol lookup error: /usr/lib/compiz/libdecoration.so: undefined symbol: decor_property_to_quads I did a quick check with readshelf :~$ readelf /usr/lib/compiz/libdecoration.so -s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=407&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I was bored last night and upgraded to Ubuntu 10.10. It went too smoothly in my opinion&#8230; things just worked. After installing some updates today however, compiz stopped working with the following error message:</p>
<p><code>Starting gtk-window-decorator<br />
compiz: symbol lookup error: /usr/lib/compiz/libdecoration.so: undefined symbol: decor_property_to_quads</code></p>
<p>I did a quick check with <code>readshelf</code></p>
<p><code>:~$ readelf /usr/lib/compiz/libdecoration.so -s | grep decor_property_to_quads</code></p>
<p>and the symbol <code>decor_property_to_quads</code> was present:</p>
<p><code>24: 00000000     0 FUNC    GLOBAL DEFAULT  UND decor_property_to_quads</code></p>
<p>So that wasn&#8217;t the problem&#8230; a little digging in Synaptic and I found out that while I&#8217;d held back <code>compiz</code> at 0.8.6, <code>libdecoration0</code> had been upgraded to 0.9.0. The fix was to downgrade <code>libdecoration0</code> from 0.9.0 to 0.8.6. I had to re-enable a few extra plug-ins but that was all the excitement I got. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Now I hear KDE SC 4.6 RC1 is out and kmail2 is very unstable&#8230; muhahaha <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/407/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=407&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2011/01/02/fix-undefined-symbol-decor_property_to_quad-compiz-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure Wine The Easy Way&#8230; With Vineyard.</title>
		<link>http://odzangba.wordpress.com/2010/11/03/configure-wine-the-easy-way-with-vineyard/</link>
		<comments>http://odzangba.wordpress.com/2010/11/03/configure-wine-the-easy-way-with-vineyard/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 23:29:07 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[vineyard]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=396</guid>
		<description><![CDATA[There&#8217;s a relatively large Ubuntu install base where I work &#8211; something like 80 computers &#8211; and Wine is reponsible for about 90% of the Ubuntu support requests I get. Usually, I have to modify a couple of libraries to get Microsoft Office Access or some other program to run properly. The default Wine configuration [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=396&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><!-- p, li { white-space: pre-wrap; } -->There&#8217;s a relatively large Ubuntu install base where I work &#8211; something like 80 computers &#8211; and Wine is reponsible for about 90% of the Ubuntu support requests I get. Usually, I have to modify a couple of libraries to get Microsoft Office Access or some other program to run properly. The default Wine configuration tool, while capable, is clunky and not native.</p>
<div id="attachment_397" class="wp-caption aligncenter" style="width: 422px"><a href="http://odzangba.files.wordpress.com/2010/11/wine-configuration_015.png"><img class="size-full wp-image-397" title="Default Wine Configuration Tool" src="http://odzangba.files.wordpress.com/2010/11/wine-configuration_015.png?w=500" alt="Default Wine Configuration Tool"   /></a><p class="wp-caption-text">Default Wine Configuration Tool</p></div>
<p>Vineyard, is a native replacement for the default Wine configuration tool that makes it easier to tweak wine. The feature list is impressive: close/kill programs, simulate reboot, shutdown, use ISO images as drives and flat style menus.</p>
<div id="attachment_398" class="wp-caption aligncenter" style="width: 451px"><a href="http://odzangba.files.wordpress.com/2010/11/wine-preferences_013.png"><img class="size-full wp-image-398" title="Vineyard Tools" src="http://odzangba.files.wordpress.com/2010/11/wine-preferences_013.png?w=500" alt="Vineyard Tools"   /></a><p class="wp-caption-text">Vineyard Tools</p></div>
<p>Vineyard also comes with a right-click menu launcher for windows applications that allows you to tweak the OS environment (Windows version, screen resoultion, what applications and fonts are installed, etc) on a per-application basis.</p>
<div id="attachment_401" class="wp-caption aligncenter" style="width: 387px"><a href="http://odzangba.files.wordpress.com/2010/11/run-in-wine-configuration_012.png"><img class="size-full wp-image-401" title="Vineyard Right-click Launcher" src="http://odzangba.files.wordpress.com/2010/11/run-in-wine-configuration_012.png?w=500" alt="Vineyard Right-click Launcher"   /></a><p class="wp-caption-text">Vineyard Right-click Launcher</p></div>
<p>&nbsp;</p>
<p>It&#8217;s quite cool. Even cooler, Vineyard comes with appindicator support.</p>
<div id="attachment_399" class="wp-caption aligncenter" style="width: 412px"><a href="http://odzangba.files.wordpress.com/2010/11/menu_011.png"><img class="size-full wp-image-399" title="Vineyard's Right-click Menu" src="https://odzangba.files.wordpress.com/2010/11/menu_011.png?w=500" alt="Vineyard's Right-click Menu"   /></a><br />
<p class="wp-caption-text">AppIndicator Support</p></div>
<p>Install Vineyard from its ppa like so:</p>
<p><code>sudo add-apt-repository ppa:cybolic/vineyard-testing<br />
sudo apt-get update<br />
sudo apt-get install python-wine vineyard<br />
</code></p>
<p>If you like to keep your sources in /etc/apt/sources.list, add the following line:</p>
<p><code>deb <a href="http://ppa.launchpad.net/cybolic/vineyard-testing/ubuntu" rel="nofollow">http://ppa.launchpad.net/cybolic/vineyard-testing/ubuntu</a> maverick main</code></p>
<p>The ppa has versions for <strong>karmic, lucid </strong>and <strong>maverick</strong> so modify the line above to reflect your ubuntu version.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=396&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2010/11/03/configure-wine-the-easy-way-with-vineyard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2010/11/wine-configuration_015.png" medium="image">
			<media:title type="html">Default Wine Configuration Tool</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2010/11/wine-preferences_013.png" medium="image">
			<media:title type="html">Vineyard Tools</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2010/11/run-in-wine-configuration_012.png" medium="image">
			<media:title type="html">Vineyard Right-click Launcher</media:title>
		</media:content>

		<media:content url="https://odzangba.files.wordpress.com/2010/11/menu_011.png" medium="image">
			<media:title type="html">Vineyard&#039;s Right-click Menu</media:title>
		</media:content>
	</item>
		<item>
		<title>Awesome Plymouth Boot Splash for Ubuntu 10.04/10.10</title>
		<link>http://odzangba.wordpress.com/2010/08/14/awesome-plymouth-boot-splash-for-ubuntu-10-0410-10/</link>
		<comments>http://odzangba.wordpress.com/2010/08/14/awesome-plymouth-boot-splash-for-ubuntu-10-0410-10/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 05:39:51 +0000</pubDate>
		<dc:creator>Odzangba</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[boot splash]]></category>
		<category><![CDATA[plymouth]]></category>

		<guid isPermaLink="false">http://odzangba.wordpress.com/?p=390</guid>
		<description><![CDATA[I usually don&#8217;t get very excited about eye candy but this one is a jaw dropper. This animated thing of pure beauty was created by ~internauta2000. Having seen it in action, I have two questions for Canonical, &#8220;why is this not the default Ubuntu boot splash?&#8221; and &#8220;why does Ubuntu boot so quickly?&#8221; Click here [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=390&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I usually don&#8217;t get very excited about eye candy but this one is a jaw dropper.</p>
<p><a href="http://odzangba.files.wordpress.com/2010/08/ubuntu_10_10_plymouth_splash_by_internauta2000.png"><img class="aligncenter size-full wp-image-393" title="Ubuntu 10.04 Plymouth Splash by Internauta2000" src="http://odzangba.files.wordpress.com/2010/08/ubuntu_10_10_plymouth_splash_by_internauta2000.png?w=500&#038;h=311" alt="Ubuntu 10.04 Plymouth Splash by Internauta2000" width="500" height="311" /></a></p>
<p>This animated thing of pure beauty was created by <em><a title="Deviations by ~internauta2000" href="http://internauta2000.deviantart.com/" target="_blank">~internauta2000</a></em>.</p>
<p>Having seen it in action, I have two questions for Canonical, &#8220;why is this not the default Ubuntu boot splash?&#8221; and &#8220;why does Ubuntu boot so quickly?&#8221; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Click <a href="http://internauta2000.deviantart.com/art/Ubuntu-10-10-Plymouth-Splash-174707078" target="_blank">here</a> to download it. Installation instructions are included in the zip file (in both English and Spanish).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odzangba.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odzangba.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odzangba.wordpress.com&#038;blog=438445&#038;post=390&#038;subd=odzangba&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odzangba.wordpress.com/2010/08/14/awesome-plymouth-boot-splash-for-ubuntu-10-0410-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00d5b385ef2f3b84ba08e8eaee37931d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">odzangba</media:title>
		</media:content>

		<media:content url="http://odzangba.files.wordpress.com/2010/08/ubuntu_10_10_plymouth_splash_by_internauta2000.png" medium="image">
			<media:title type="html">Ubuntu 10.04 Plymouth Splash by Internauta2000</media:title>
		</media:content>
	</item>
	</channel>
</rss>
