<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unsharpTech &#187; Linux</title>
	<atom:link href="http://unsharptech.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://unsharptech.com</link>
	<description>when the bleeding edge just doesn&#039;t cut it</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:06:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Enable Gnome Video Thumbnails in Arch Linux</title>
		<link>http://unsharptech.com/2009/12/07/enable-nuatilus-gnome-video-thumbnails-in-arch-linux/</link>
		<comments>http://unsharptech.com/2009/12/07/enable-nuatilus-gnome-video-thumbnails-in-arch-linux/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 13:28:32 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[How2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=302</guid>
		<description><![CDATA[Gnome&#8217;s file manager Nautilus does a great job of automatically thumbnailing all kinds of files including pretty much any video file. But, in a fresh Arch Linux install you still need a few gstreamer packages to enable totem-video-thumbnailer to do its job&#8230; 1. Install necessary packages (as root): pacman -Sy --needed totem gstreamer0.10-{{bad,good,ugly,base}{,-plugins},ffmpeg} 2. Delete [...]]]></description>
			<content:encoded><![CDATA[<p>Gnome&#8217;s file manager Nautilus does a great job of automatically thumbnailing all kinds of files including pretty much any video file.</p>
<p>But, in a fresh Arch Linux install you still need a few <code>gstream</code><code>er</code> packages to enable <code>totem-video-thumbnailer</code> to do its job&#8230;<span id="more-302"></span></p>
<h4>1. Install necessary packages (as root):</h4>
<pre class="brush: bash">pacman -Sy --needed totem gstreamer0.10-{{bad,good,ugly,base}{,-plugins},ffmpeg}</pre>
<h4>2. Delete old video thumbnails to force generation of new ones:</h4>
<pre class="brush: bash">rm -rf ~/.thumbnails/fail</pre>
<h4>3. Browse a folder of video files in Nautilus:</h4>
<p><a href="http://unsharptech.com/wp-content/uploads/nautilus-video-thumbnails.png" rel="lightbox[302]"><img class="alignnone size-medium wp-image-307" title="nautilus-video-thumbnails" src="http://unsharptech.com/wp-content/uploads/nautilus-video-thumbnails-300x222.png" alt="nautilus-video-thumbnails" width="300" height="222" /></a></p>
<p>In some cases you may need to restart Nautlius for the changes to take effect:</p>
<pre class="brush: bash">killall nautilus</pre>
<p>&#8230;or simply log out and log in again.</p>
<h4>System Info</h4>
<ul>
<li>Arch Linux &#8211; Kernel 2.6.31-ARCH</li>
<li>Gnome 2.28.0</li>
<li>packages <code>gnome</code> &amp; <code>gnome-extra</code></li>
</ul>
<p><strong>Source</strong></p>
<blockquote><p><a href="http://wiki.archlinux.org/index.php/Common_codecs">http://wiki.archlinux.org/index.php/Common_codecs</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2009/12/07/enable-nuatilus-gnome-video-thumbnails-in-arch-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sometimes Ghost is truly the best tool</title>
		<link>http://unsharptech.com/2009/08/01/sometimes-ghost-is-truly-the-best-tool/</link>
		<comments>http://unsharptech.com/2009/08/01/sometimes-ghost-is-truly-the-best-tool/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 11:37:16 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Amazing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=264</guid>
		<description><![CDATA[Lately I&#8217;ve been loving Clonezilla for rolling out refurbed Dell workstations. It&#8217;s been really cool, boot from USB &#8220;liveCD&#8221;, clone disk to disk directly over gigabit ethernet, reboot, repeat. But after doing 10 of them, I ran into the true limitation of Clonezilla. Clonezilla relies on ntfsclone and partimage (great tools) but they share a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-269" title="HDD stack" src="http://unsharptech.com/wp-content/uploads/cimg1722.jpg" alt="HDD stack" width="200" height="150" />Lately I&#8217;ve been loving <a href="http://clonezilla.org/">Clonezilla</a> for rolling out refurbed Dell workstations. It&#8217;s been really cool, boot from USB &#8220;liveCD&#8221;, clone disk to disk directly over gigabit ethernet, reboot, repeat. But after doing 10 of them, I ran into the true limitation of Clonezilla. Clonezilla relies on <a href="http://www.linux-ntfs.org/doku.php?id=ntfsclone">ntfsclone</a> and <a href="http://www.partimage.org/">partimage</a> (great tools) but they share a key weakness: neither can restore an NTFS drive or partition image to a smaller target &#8211; in my case it was a matter of a dozen sectors. It&#8217;s ironic because both tools only copy the used blocks and seem to support resizing but they just plain don&#8217;t do it. Needless to say I couldn&#8217;t accept that fact until I was done pounding my head against the issue thoroughly, then I used the de facto Windows imaging tool: Norton <a href="http://en.wikipedia.org/wiki/Norton_Ghost">Ghost</a>.</p>
<p>So, its 4:00 AM and I&#8217;m in the lab finishing up my Ghost disk-to-disk imaging on the remailing machines: total time to break remaining boxes and yank HDs + Ghost imaging time = 30 mins, time wasted to get to this point = 3 hours.</p>
<p>If anyone can prove me wrong concerning the shortcomings of Clonezilla, please do (and comment, <em>duh</em>).</p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2009/08/01/sometimes-ghost-is-truly-the-best-tool/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix slow connections to Ubuntu SSH servers</title>
		<link>http://unsharptech.com/2009/04/11/fix-slow-connections-to-ubuntu-ssh-servers/</link>
		<comments>http://unsharptech.com/2009/04/11/fix-slow-connections-to-ubuntu-ssh-servers/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 06:18:16 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=187</guid>
		<description><![CDATA[As of Ubuntu 8.10 and older, connections to SSH servers with default configs can be annoyingly slow. This is because the OpenSSH daemon uses DNS to run a reverse lookup on the client to be sure that they aren&#8217;t faking their hostname. You can disable most look-ups by implementing the following setting: As root edit [...]]]></description>
			<content:encoded><![CDATA[<p>As of Ubuntu 8.10 and older, connections to SSH servers with default configs can be annoyingly slow. This<a href="http://unsharptech.com/wp-content/uploads/terminal.png" rel="lightbox[187]"><img class="alignright size-full wp-image-216" title="terminal" src="http://unsharptech.com/wp-content/uploads/terminal.png" alt="terminal" width="48" height="48" /></a> is because the OpenSSH daemon uses DNS to run a reverse lookup on the client to be sure that they aren&#8217;t faking their hostname. You can disable most look-ups by implementing the following setting:</p>
<p>As root edit &#8220;<code>/etc/ssh/sshd_config</code>&#8221; and add the line &#8220;<code>UseDNS no</code>&#8220;.</p>
<p>This can also be done by running the following command:</p>
<pre class="brush: php">sudo echo &quot;UseDNS no&quot; &gt;&gt; /etc/ssh/sshd_config</pre>
<p>Sources:</p>
<blockquote><p>This issue is <a href="http://www.openssh.org/faq.html#3.3">documented at OpenSSH.org</a></p>
<p>Fix and more details available at: <a href="http://tech.waltco.biz/2008/02/02/ssh-slow-to-connect-in-ubuntu-710-gutsy-gibbon/">http://tech.waltco.biz/2008/02/02/ssh-slow-to-connect-in-ubuntu-710-gutsy-gibbon/</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2009/04/11/fix-slow-connections-to-ubuntu-ssh-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Atheros Wireless in Ubuntu 8.10 Intrepid Ibex</title>
		<link>http://unsharptech.com/2008/10/31/atheros-wireless-in-ubuntu-810-intrepid-ibex/</link>
		<comments>http://unsharptech.com/2008/10/31/atheros-wireless-in-ubuntu-810-intrepid-ibex/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 17:38:55 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Guides]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[How2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=115</guid>
		<description><![CDATA[Did a fresh install + updates of Kubuntu 8.10 on a customer&#8217;s laptop and had no wireless even though it&#8217;s an Atheros chipset. UPDATE: I recently tried this method on a similar Acer laptop with Ubuntu 8.10 AMD64 with no results. After searching, I used another guide that makes compiling madwifi from source simple. If [...]]]></description>
			<content:encoded><![CDATA[<p>Did a fresh install + updates of Kubuntu 8.10 on a customer&#8217;s laptop and had no wireless even though it&#8217;s an Atheros chipset.</p>
<p><span id="more-115"></span></p>
<p><strong>UPDATE:</strong></p>
<blockquote><p>I recently tried this method on a similar Acer laptop with Ubuntu 8.10 AMD64 with no results. After searching, I used <a href="http://blog.hyperandy.com/2008/11/01/atheros-ar242x-ubuntu-810-ibex/">another guide</a> that makes compiling madwifi from source simple. If my method doesn&#8217;t work for you, remove the backports modules:</p>
<pre class="brush: bash">sudo apt-get remove linux-backports-modules-intrepid-generic
</pre>
<p>then reboot, and try out the below guide. Thank you Hyperandy.</p>
<p>Link: <a href="http://blog.hyperandy.com/2008/11/01/atheros-ar242x-ubuntu-810-ibex/">http://blog.hyperandy.com/2008/11/01/atheros-ar242x-ubuntu-810-ibex/</a></p></blockquote>
<p>Hardware:</p>
<ul>
<li>Laptop: Acer Aspire 4520</li>
<li>Wireless Card: Atheros AR242x Communications Inc. 802.11abg</li>
</ul>
<pre class="brush: bash">lspci | grep &quot;Atheros&quot;
07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
</pre>
<p>Resolution:</p>
<pre class="brush: bash">sudo apt-get install linux-backports-modules-intrepid-generic
</pre>
<p>After above install completes, <strong>reboot</strong>, then open up the Hardware Drivers manager (<strong>jockey-gtk</strong> or <strong>jockey-kde</strong>) and disable <strong>&#8220;Support for Atheros 802.11 wireless LAN cards&#8221;</strong> and make sure that &#8220;<strong>Support for 5xxx series of Atheros 802.11 wireless LAN cards</strong>&#8221; is enabled then <strong>reboot</strong>. You may need to reboot to see both drivers in the Hardware Drivers manager.</p>
<p>This is at least a temporary fix, you&#8217;ll end up with the ath5k drivers- hopefully a stable universal method for Atheros card support will become available soon.</p>
<p>Source:<br />
<a href="http://www.ubuntu.com/getubuntu/releasenotes/810">8.10 Release Notes | Ubuntu</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/10/31/atheros-wireless-in-ubuntu-810-intrepid-ibex/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</item>
		<item>
		<title>Useful find Commands</title>
		<link>http://unsharptech.com/2008/08/16/useful-find-commands/</link>
		<comments>http://unsharptech.com/2008/08/16/useful-find-commands/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 13:34:54 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[How2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=92</guid>
		<description><![CDATA[Recursive, multi-file find and replace with grep and xargs for performance: Source: http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html grep -rl &#039;what_to_find&#039; ./ &#124; xargs sed -i &#039;s/what_to_find/what_to_replace_with/g&#039; Put  a not in front of that expression: find ./ ! -type d Escape wildcards to avoid the shell expanding them: If you just quote it; &#8220;*.avi&#8221; you can often run into trouble. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Recursive, multi-file find and replace with grep and xargs for performance:</strong></p>
<p>Source: <a href="http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html">http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html</a></p>
<pre class="brush: bash">grep -rl &#039;what_to_find&#039; ./ | xargs sed -i &#039;s/what_to_find/what_to_replace_with/g&#039;</pre>
<p><strong>Put  a not in front of that expression:</strong></p>
<pre class="brush: bash">find ./ ! -type d</pre>
<p><strong>Escape wildcards to avoid the shell expanding them:</strong></p>
<p>If you just quote it; <em>&#8220;*.avi&#8221;</em> you can often run into trouble.</p>
<pre class="brush: bash">find ./ -name \*.avi</pre>
<p><strong>Prune empty directories</strong></p>
<pre class="brush: bash">find ./ -depth -type d -empty -exec rmdir -v {} \;</pre>
<p>Source: <a href="http://duramecho.com/ComputerPrograms/DeleteEmptyDirectories/index.html">http://duramecho.com/ComputerPrograms/DeleteEmptyDirectories/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/08/16/useful-find-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disable Recent Documents in Gnome 2.22.3</title>
		<link>http://unsharptech.com/2008/08/08/disable-recent-documents-in-gnome-2223/</link>
		<comments>http://unsharptech.com/2008/08/08/disable-recent-documents-in-gnome-2223/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 10:45:02 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[How2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=72</guid>
		<description><![CDATA[So even Windows lets you disable the Recent Documents feature, but for some reason Gnome really wants to remember what files you&#8217;ve been messing with. Personally I never use this menu item (usually under Places in the Gnome Main Menu) and find it to be a bit of a privacy concern. Surprisingly enough there are [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://unsharptech.com/wp-content/uploads/menu-no-recent.jpg" rel="lightbox[72]"><img class="alignright size-thumbnail wp-image-73" title="menu-no-recent" src="http://unsharptech.com/wp-content/uploads/menu-no-recent-150x150.jpg" alt="" width="150" height="150" /></a>So even Windows lets you disable the Recent Documents feature, but for some reason Gnome really wants to remember what files you&#8217;ve been messing with. Personally I never use this menu item (usually under <em>Places</em> in the Gnome Main Menu) and find it to be a bit of a privacy concern.</p>
<p>Surprisingly enough there are no documented settings for Recent Documents, not even something in gconf-editor, so people have been going stone age to prevent this functionality. In the past you could change permissions for the file that stores the data in your home directory, but it seems in later versions of Gnome the following is the current method of choice.</p>
<p><span id="more-72"></span></p>
<p><strong>METHOD:</strong></p>
<blockquote><p>Enter the following into a terminal:</p>
<pre class="brush: bash">rm ~/.recently-used.xbel
mkdir ~/.recently-used.xbel</pre>
</blockquote>
<p>When you&#8217;re done, go check your menu and Recent Documents should be grayed out.</p>
<p>This works because the data concerning your recent documents can&#8217;t be written to a directory and the Recent Documents menu item is simply disabled. (I played around with retaining the text file and changing its permissions, but they were eventually always overwritten.)</p>
<p><strong>NOTES:</strong></p>
<blockquote><p>It has been mentioned that you may receive GTK related warnings in the console after applying this, since we did a sort of end-run that&#8217;s kind of expected.</p>
<p>There was another method that involved making the file immutable (<em>sudo chattr +i ~/.recently-used.xbel</em>) but this is only for ext2/ext3 filesystems (I prefer JFS whenever applicable).</p>
<p>There may also be a left over file, <em>~/.recently_used</em> that you can also remove:</p>
<pre class="brush: bash">rm ~/.recently-used</pre>
</blockquote>
<p><strong>SOURCES:</strong></p>
<blockquote><p><a href="http://bbs.archlinux.org/viewtopic.php?pid=212094#p212094">Arch Linux Forums /  Disable Gnome Recent Documents [solved]</a></p>
<p><a href="http://ph.ubuntuforums.com/showthread.php?p=4652216">Disable recent documents &#8211; Ubuntu Forums</a></p></blockquote>
<p>I take no responsibility for coming up with this hack, I just wanted to clearly document it. BTW, this has been a problem since 2005 &gt; <a href="https://bugs.launchpad.net/gnome-panel/+bug/30942">Bug 30942 – Request to add option to disable &#8216;Recent Documents&#8217; lists</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/08/08/disable-recent-documents-in-gnome-2223/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Join two .avi Videos with Mencoder/Mplayer</title>
		<link>http://unsharptech.com/2008/08/05/join-two-avi-videos-with-mencodermplayer/</link>
		<comments>http://unsharptech.com/2008/08/05/join-two-avi-videos-with-mencodermplayer/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 12:25:47 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[How2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=37</guid>
		<description><![CDATA[A lot of videos available from various sources are often encoded as .avi files close to 700MB in order to fit on a singleCD-R. This works out just great, but sometimes vids are split into two 700MB .avi files to fit two CDs so you get a Coolest-Movie-EVER_-_[2010][xVid](mp3)_dUff-mAn_CD1.avi and another but with &#8220;CD2&#8221; instead. Well [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://unsharptech.com/2008/08/05/join-two-avi-videos-with-mencodermplayer/"><img title="join_video" src="http://unsharptech.com/wp-content/uploads/join_video.jpg" alt="" width="150" height="65" align="right" /></a>A lot of <em>videos</em> available from <em>various sources</em> are often encoded as .avi files close to 700MB in order to fit on a singleCD-R. This works out just great, but sometimes vids are split into two 700MB .avi files to fit two CDs so you get a<em> Coolest-Movie-EVER_-_[2010][xVid](mp3)_dUff-mAn_CD1.avi</em> and another but with &#8220;<em>CD2</em>&#8221; instead.</p>
<p><span id="more-37"></span></p>
<p>Well I tend to just let these vids chill on my hard drive where space isn&#8217;t an issue, so I&#8217;d rather just have one 1.4GB vid file instead. In order to cleanly join two halves of a .avi together I use <a title="MEncoder - Wikipedia" href="http://en.wikipedia.org/wiki/Mencoder">MEncoder</a> in the following command:</p>
<pre class="brush: bash">mencoder -oac copy -ovc copy -idx -o Final_Big_Output_File.avi First_Half_Video_File.avi Other_Half_Video_File.avi</pre>
<blockquote><p>So, <strong>Final_Big_Output_File.avi</strong> = the big output file to be created,</p>
<p><strong>First_Half_Video_File.avi</strong> = the path to the first half of the video,</p>
<p>and <strong>Other_Half_Video_File.avi</strong> = the path to the file with the second half.</p></blockquote>
<p><strong>Note:</strong> This method assumes that both halves have the same codec, resolution, etc.</p>
<p>MEncoder is usually packaged with its close friend MPlayer which is available on pretty much any platform. I&#8217;ve successfully tested this command on Arch Linux with MEncoder 1.0rc2-4.3.1 and Windows XP with MEncoder 1.0rc2-4.2.1 (just grabbed a binary from <a title="MPlayer HQ" href="http://www.mplayerhq.hu/">MPLayerHQ</a>) &#8211; besides, this is a popular method.</p>
<p>I know there are other ways to combine two .avi s but this was the cleanest and most reliable for me, if you have any others worth looking into please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/08/05/join-two-avi-videos-with-mencodermplayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warning: FileZilla FTP Passwords now Stored in Plaintext</title>
		<link>http://unsharptech.com/2008/05/20/filezilla-ftp-passwords-stored-in-plaintext/</link>
		<comments>http://unsharptech.com/2008/05/20/filezilla-ftp-passwords-stored-in-plaintext/#comments</comments>
		<pubDate>Wed, 21 May 2008 03:51:13 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://unsharptech.com/2008/05/20/filezilla-ftp-passwords-stored-in-plaintext/</guid>
		<description><![CDATA[I feel that this should be brought to the attention of FileZilla users out there even though it may be a huge concern. (Lots of apps do this but potentially giving up FTP access info to a bunch of servers you are responsible for is something to be avoided). Jump to the Important Stuff I [...]]]></description>
			<content:encoded><![CDATA[<p><a title="FileZilla Plaintext Passwords" href="http://unsharptech.com/wp-content/filezilla_plaintext.jpg" rel="lightbox[33]"><img src="http://unsharptech.com/wp-content/filezilla_plaintext.thumbnail.jpg" alt="FileZilla Plaintext Passwords" align="right" /></a>I feel that this should be brought to the attention of FileZilla users out there even though it may be a huge concern. (Lots of apps do this but potentially giving up FTP access info to a bunch of servers you are responsible for is something to be avoided). <a href="http://unsharptech.com/2008/05/20/filezilla-ftp-passwords-stored-in-plaintext/#important">Jump to the Important Stuff</a></p>
<p><span id="more-33"></span></p>
<p>I love the FTP client <a href="http://filezilla-project.org/">FileZilla</a>, and I used to share my filezilla.xml file between machines because it stored all my recent servers and passwords (encrypted). Recently I tried to do the same and came to find out that the most recent versions of <strong>FileZilla version ~ 3.0.9.2+</strong> (and possibly older) store all saved FTP account connection info in <strong><a href="http://en.wikipedia.org/wiki/Plaintext">plaintext</a> .xml files</strong>. This applys to both Linux and Windows installations (Mac OS X has yet to be tested but I would bet the same applies).</p>
<p>In some cases this is convenient &#8211; often I connect over FileZilla then don&#8217;t  have access to the password but need to use it in a different app/machine, I could just look it up in these plaintext config files.</p>
<p><strong>But in other cases this is a serious problem.</strong> From a practical standpoint, let&#8217;s say we connect to our FTP server using FileZilla on a semi-public machine like at a buddy&#8217;s place where you may not be concerned about keyloggers but don&#8217;t necessarily want your stuff <strong>available in plaintext</strong> after you walk away.</p>
<p>And let&#8217;s not forget that someone could write an app that runs in the background, <a href="http://en.wikipedia.org/wiki/Pod_slurping">slurping</a> up that info and putting it in the hands of people you may not trust.</p>
<p>Personally, I am not gonna stop using FileZilla at my primary FTP client on my Linux and Windows boxes, it really is a great app &#8211; one of the best clients if not the best. But I feel that awareness pertaining to storage of sensitive data should be a major concern to any serious user.<br />
Text to be displayed<br />
<a title="important" name="important"></a><strong><em>The following files are what you need to know about:</em></strong></p>
<blockquote><p><strong> filezilla.xml</strong> &#8211; Stores most recent server info including password in plaintext.<br />
<strong> recentservers.xml</strong> &#8211; Stores all recent server info including password in plaintext.<br />
<strong> sitemanager.xml</strong> &#8211; Stores all saved sites server info including password in plaintext.</p></blockquote>
<p><strong><em>These files can usually be found in the following directories:</em></strong></p>
<blockquote><p><strong>Windows XP/2K:</strong> &#8220;C:\Documents and Settings\username\Application Data\FileZilla&#8221;<br />
<strong>Windows Vista:</strong> &#8220;C:\Users\username\AppData\Roaming\FileZilla\&#8221;<br />
<strong> Linux: </strong>&#8220;/home/username/.filezilla/&#8221;</p></blockquote>
<p>It seems that this has been brought to the developer&#8217;s attention but it also seems that this won&#8217;t be changing any time soon. There seems to be a bit of a dispute as to how this should be handled, but <strong>I say why not use weak cryptography/obfuscation like they used to</strong>, at least that way it would take someone some minor effort/know-how to get to these passwords.</p>
<p><strong>If you have further information regarding the subject, please comment.</strong></p>
<blockquote><p><strong> Related resources:</strong></p>
<p><strong><em>Security posting:</em></strong> <a href="http://seclists.org/fulldisclosure/2008/Apr/0511.html">http://seclists.org/fulldisclosure/2008/Apr/0511.html</a></p>
<p><em><strong>FileZilla Password Recovery Apps/Scripts: (may only apply to older encryption scheme)</strong></em></p>
<p><a href="http://www.reactive-software.com/filezilla-password-recovery.html">http://www.reactive-software.com/filezilla-password-recovery.html </a></p>
<p><a href="http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/">http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/ </a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/05/20/filezilla-ftp-passwords-stored-in-plaintext/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Praise for eeeXubuntu</title>
		<link>http://unsharptech.com/2008/05/20/praise-for-eeexubuntu/</link>
		<comments>http://unsharptech.com/2008/05/20/praise-for-eeexubuntu/#comments</comments>
		<pubDate>Wed, 21 May 2008 01:42:35 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://unsharptech.com/2008/05/20/praise-for-eeexubuntu/</guid>
		<description><![CDATA[So when I first got my Black Asus Eee PC 4G xmas &#8217;07 I pretty much freaked out about all the possibilities but ended up installing my distro of choice, Arch Linux and all the Eee specific hardware support, then it kinda sat&#8230; and sat, until. I recently decided to review the current OS choices [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Inifinite Eee" href="http://unsharptech.com/wp-content/image_00012.jpg" rel="lightbox[31]"><img src="http://unsharptech.com/wp-content/image_00012.thumbnail.jpg" alt="Inifinite Eee" align="right" /></a>So when I first got my Black   <a href="http://en.wikipedia.org/wiki/ASUS_Eee_PC">Asus Eee PC 4G</a> xmas &#8217;07 I pretty much freaked out about all the possibilities but ended up installing my distro of choice, <a href="http://wiki.archlinux.org/index.php/Installing_Arch_Linux_on_the_Asus_EEE_PC">Arch Linux</a> and all the Eee specific hardware support, then it kinda sat&#8230; and sat, until. I recently decided to review the current OS choices available for the Eee and settled on <a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:home">eeeXubuntu</a> as the best candidate &#8211; clean little Ubuntu based with Eee hardware support out of the box. Besides, I just wanted to use my Eee not fiddle with the thing (I had my fill a few months ago, it was fun though).</p>
<p><span id="more-31"></span></p>
<p>I downloaded the <a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:home#download_it">Live CD .iso</a> and booted it in VMware Server on an XP host, then plugged in a 1GB Corsair Voyager USB drive and enabled it for the VM so the Live CD virtual machine would have access. From there I just followed the guide on the <a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:home">eeeuser.com wiki</a> and ran the <a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:home#detailed_usb_installer_instructions">USB drive install</a> script, booted off the USB stick on the Eee and BAM! this s**t was fast! I was super impressed, I mean Arch is a KISS fast distro but eeeXubuntu destroyed my Arch install by comparison.</p>
<p>Anyways, after playing on the USB stick live OS for a while I opted to install, one partition at &#8216;/&#8217; (no swap) and <a href="http://en.wikipedia.org/wiki/Hans_Reiser#The_Nina_Reiser_Case">MurderFS.</a>.. I mean ReiserFS. The current eeeXubuntu Live CD is based on <a href="http://www.xubuntu.org/">Xubuntu </a>7.10 while the current version of Xubuntu is Hardy Heron 8.04 LTS but I think there&#8217;s a guide on the eeeuser Wiki to run the upgrade manager to get to 8.04.. I&#8217;m cool with 7.10 for now though.</p>
<p>Wireless worked with NetworkManager Applet OUT OF THE BOX, thank god. I followed the guide (again on the eeeuser.com Wiki) to install <a href="http://wiki.eeeuser.com/ubuntu?s=ucview#webcam_and_skype">ucview</a> to have some fun w/ the webcam (<a href="http://live.gnome.org/Cheese">cheese</a> was giving me some issues I couldn&#8217;t resolve).</p>
<p>DUDE, this thing flies! General responsiveness is awesome by my standards, and I&#8217;ve run all major operating systems on a huge range of hardware with all sorts of configs (let&#8217;s not get into that). I can even freakin&#8217; watch the bigger Flash vids that straight up refused to work on my Arch install. Don&#8217;t think I&#8217;m bashing Arch, heck no,  I like to think I have a darn good understanding of the strengths and weaknesses of Ubuntu based distros vs. Arch Linux and bottom line is I believe that eeeXubuntu is just a super well-put-together distro for the Eee. Color me impressed. But maybe Ubuntu or Debian in general is better suited to the Eee platform?.. I don&#8217;t care cause I&#8217;m more than happy with eeeXubuntu.</p>
<p>Gripes? out of the box it likes to complain about my battery capacity there&#8217;s a bit in the <a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:home">eeeuser.com Wiki</a> about setting up ACPI correctly &#8211; I&#8217;ll fix it soon / when I get pissed. Whatever, this is sweet.</p>
<p>I had to release my excitement so I spewed this out, comments welcome.<br />
<a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:home">eeeuser.com Wiki eeeXubuntu Home</a></p>
<p><a href="http://wiki.eeeuser.com/ubuntu:eeexubuntu:customization">eeeuser.com Wiki: Customize eeeXubuntu </a></p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/05/20/praise-for-eeexubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhotoRec Saved My Butt</title>
		<link>http://unsharptech.com/2008/02/17/photorec-saved-my-butt/</link>
		<comments>http://unsharptech.com/2008/02/17/photorec-saved-my-butt/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 08:47:38 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://unsharptech.com/2008/02/17/photorec-saved-my-butt/</guid>
		<description><![CDATA[So my reckless typing really got me into trouble this time. I was attempting to zero-out a usb drive when I managed to put the wrong device in the dd command &#8211; I automatically typed sda1 (the primary HD) out of habit instead of sdb1 &#8211; the usb drive. I caught my mistake and gave [...]]]></description>
			<content:encoded><![CDATA[<p>So my reckless typing really got me into trouble this time. I was attempting to zero-out a usb drive when I managed to put the wrong device in the dd command &#8211; I automatically typed sda1 (the primary HD) out of habit instead of sdb1 &#8211; the usb drive. I caught my mistake and gave it a solid control + c but I had still wiped out the first 60 MBs of the drive.</p>
<p><a href="http://unsharptech.com/2008/02/17/photorec-saved-my-butt/"><img src="http://unsharptech.com/wp-content/photorec.jpg" alt="PhotoRec" /></a></p>
<p><span id="more-20"></span></p>
<p>At first I was confused because the system seemed to still be running just fine, then&#8230; eh dreaded full lock up. Of course on reboot I got a grub error and from there it was &#8220;so, what exactly was on that drive?&#8230;&#8221; Turns out that my coworker had a few months worth of work in Blender files in his home directory, WHY he didn&#8217;t ever think to backup to the RAID 1 NAS we have, I have no idea&#8230;</p>
<p>So my dilemma was that I had wiped out the partition structure, making it a bit hard to rescue data. Besides that I had totally forgotten how his partitions were laid out in the first place. After messing up the superblock further by screwin&#8217; around with jfs_debug I decided to give <a href="http://www.cgsecurity.org/wiki/PhotoRec">PhotoRec</a> a go at the drive. <a href="http://www.cgsecurity.org/wiki/PhotoRec">PhotoRec</a> by <a href="http://www.cgsecurity.org/">CGSecurity</a> is an absolutely amazing tool. If the files you wish to recover are supported by it (and they have a huge list) then you are in good shape &#8211; and holy crap! .blends are supported! <a href="http://www.cgsecurity.org/wiki/PhotoRec">PhotoRec</a> is <em>cross-platform</em> and <em>cross-filesystem</em> unlike nearly any other tool out there. The great thing is that I was able to select the whole disk to search (not just the two partitions that were supposedly both swap) and PhotoRec <strong>ignored the filesystem</strong> &#8211; perfect for my situation.</p>
<p>I was so  glad to see the # of found .blends growing steadily&#8230; until it got to about 900. Oh yeah, bad thing about file recovery software is that it not only finds the files that were last written to the drive but the deleted and reformatted ones as well, (it&#8217;s that good) and due to the nature of the recovery process file names aren&#8217;t preserved. So my buddy has a lot of files to look through, a lot better then nothing!</p>
<p>BTW I originally started using <a href="http://www.cgsecurity.org/wiki/PhotoRec">PhotoRec</a> on failed customer hard drives &#8211; again a bit a of a chore because you get lots of files you don&#8217;t want, but this is sort of the curse of file recovery, and it really is great when you dig out the files you need.</p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/02/17/photorec-saved-my-butt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
