<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>T3CH.com</title>
	
	<link>http://t3ch.com</link>
	<description>== leet technology ==</description>
	<lastBuildDate>Sat, 28 Aug 2010 18:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/joet3ch" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="joet3ch" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">joet3ch</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>DNS IS SEXY</title>
		<link>http://t3ch.com/blog/dns-is-sexy/</link>
		<comments>http://t3ch.com/blog/dns-is-sexy/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 18:07:14 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dyndns]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[sexy]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=671</guid>
		<description><![CDATA[The peeps at Dyn Inc. hooked me up with a sick shirt!! Isn&#8217;t it awesome!?!? I guess now is a good time to fill you all in on the super kick ass DNS and mail infrastructure at T3CH.com&#8230;. Since what feels like the beginning of time, I have been a smiling DynDNS user. I primarily [...]]]></description>
			<content:encoded><![CDATA[<p>The peeps at <a href="http://dyn.com" onclick="pageTracker._trackPageview('/outgoing/dyn.com?referer=');">Dyn Inc.</a> hooked me up with a sick shirt!!  Isn&#8217;t it awesome!?!?  </p>
<p><a href="http://t3ch.com/wp-content/uploads/2010/08/DSCN1054_2.jpg"><img src="http://t3ch.com/wp-content/uploads/2010/08/DSCN1054_2.jpg" alt="DNS IS SEXY" title="DNS IS SEXY" width="640" height="480" class="aligncenter size-full wp-image-676" /></a></p>
<p>I guess now is a good time to fill you all in on the super kick ass DNS and mail infrastructure at T3CH.com&#8230;.</p>
<p>Since what feels like the beginning of time, I have been a smiling <a href="http://dyndns.com" onclick="pageTracker._trackPageview('/outgoing/dyndns.com?referer=');">DynDNS</a> user.  I primarily used the free dynamic DNS hosting service back in the day to battle the dynamic IP&#8217;s issued by the ISP for my basement servers.  In 2006, I upgraded to paid services.  While I am fully capable of running my own Bind services (and do for some internal stuff), public DNS is not something I care to be responsible for.  DynDNS has the infrastructure in place to handle any size load of queries with a history of zero downtime.  That being said, the T3CH.com DNS infrastructure is exclusively managed with DynDNS&#8217; <a href="https://www.dyndns.com/services/dns/custom/" onclick="pageTracker._trackPageview('/outgoing/www.dyndns.com/services/dns/custom/?referer=');">Custom DNS Service</a> making T3CH.com SEXY!~</p>
<p>A very important feature to me (with any service) is the API.  These guys did it right, check out their <a href="https://www.dyndns.com/developers/" onclick="pageTracker._trackPageview('/outgoing/www.dyndns.com/developers/?referer=');">Developers&#8217; Connection</a> site and you too can build an update client for any platform or device.</p>
<p>I almost forgot to mention&#8230; Email.  In a world full of free Gmail/Yahoo! mail services and awesome providers such as Apple&#8217;s MobileMe, it is in your best interest to maintain the sanity of your email routing.  I rely on <a href="https://www.dyndns.com/services/mailhop/outbound.html" onclick="pageTracker._trackPageview('/outgoing/www.dyndns.com/services/mailhop/outbound.html?referer=');">MailHop Outbound</a> and <a href="https://www.dyndns.com/services/mailhop/forward.html" onclick="pageTracker._trackPageview('/outgoing/www.dyndns.com/services/mailhop/forward.html?referer=');">MailHop Forward</a> to be the entry/exit points of my mail infrastructure.  This allows me to switch around to different mail services (usually my own servers or Apple&#8217;s MobileMe, and sometimes Google&#8217;s Gmail) without having to risk losing any incoming email.  Most MTA&#8217;s will keep trying to send mail for a few days, but there is no guarantee.  By having my MX records pointing to MailHop Forward servers, I don&#8217;t have to worry &#8212; ever!  MailHop Outbound benefits me in several ways.  First, I can set SPF records to ensure that my mail recipient&#8217;s servers will know that the IP of MailHop Outbound is an authorized sender for my domain.  This helps to prevent evil spammers from using your domain name as their email address.  Second, no matter which email service I am using &#8212; I always have the same outbound server and never have to modify my email clients, which can become time consuming now a days with multiple devices (for me:  laptops, iPads, iPhone, Droid, etc&#8230;).  Yea I have multiple iPads now <img src='http://t3ch.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyway&#8230; If you give a shit about your DNS, I recommend Dyn Inc.  Get the full scoop at <a href="http://dyn.com" onclick="pageTracker._trackPageview('/outgoing/dyn.com?referer=');">http://dyn.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/dns-is-sexy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Transfer 2.0 for Android</title>
		<link>http://t3ch.com/blog/image-transfer-2-0-for-android/</link>
		<comments>http://t3ch.com/blog/image-transfer-2-0-for-android/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 05:38:32 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[apps]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=659</guid>
		<description><![CDATA[Version 2.0 was released yesterday and includes a feature that has been requested by many users&#8230; &#8220;An option to only transfer new files since your last transfer.&#8221; 90% of feature requests were for this functionality. We are hesitant to add new features since the goal is to keep Image Transfer simple and lightweight, but this [...]]]></description>
			<content:encoded><![CDATA[<p>Version 2.0 was released yesterday and includes a feature that has been requested by many users&#8230;</p>
<p style="padding-left: 30px;">&#8220;An option to only transfer new files since your last transfer.&#8221;</p>
<p>90% of feature requests were for this functionality.  We are hesitant to add new features since the goal is to keep Image Transfer simple and lightweight, but this feature should have been included since the beginning!</p>
<p>Several performance tweaks and bug fixes are also implemented in this release.</p>
<p>Download the free version: <a href="http://www.imagetransferapp.com/downloads/ImageTransferFree.apk" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.imagetransferapp.com/downloads/ImageTransferFree.apk?referer=');">Image Transfer v2.0</a></p>
<p>New settings menu:</p>
<p style="text-align: center;"><a href="http://t3ch.com/wp-content/uploads/2010/08/android_settings.png"><img class="size-medium wp-image-662  aligncenter" title="Image Transfer Settings" src="http://t3ch.com/wp-content/uploads/2010/08/android_settings-204x300.png" alt="Image Transfer Settings" width="204" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/image-transfer-2-0-for-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying Android Apps From Your Apache Server</title>
		<link>http://t3ch.com/blog/deploying-android-apps-from-your-apache-server/</link>
		<comments>http://t3ch.com/blog/deploying-android-apps-from-your-apache-server/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 08:01:55 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=631</guid>
		<description><![CDATA[Just like every type of file, the webserver must know how to handle the content. This is where MIME types come into play. First, plug in the MIME type for &#8216;.apk&#8217; files. This line needs to end up in your Apache config. If your running a default config, just search your &#8216;httpd.conf&#8217; file for &#8216;AddType&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Just like every type of file, the webserver must know how to handle the content.  This is where MIME types come into play.</p>
<p>First, plug in the MIME type for &#8216;.apk&#8217; files.  This line needs to end up in your Apache config.  If your running a default config, just search your &#8216;httpd.conf&#8217; file for &#8216;AddType&#8217; and insert this line:</p>
<pre class="brush: bash;">
AddType application/vnd.android.package-archive .apk
</pre>
<p>Don&#8217;t forget to reload your http daemon after modifying the config.</p>
<p>Next, you should explicitly set the MIME type within the links to your Android packages.  Here is an example:</p>
<pre class="brush: xml;">
&lt;a href=&quot;downloads/ImageTransfer.apk&quot; type=&quot;application/vnd.android.package-archive&quot;&gt;Download App&lt;/a&gt;
</pre>
<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/deploying-android-apps-from-your-apache-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Reuters – Thomson Reuters StreetApps Challenge</title>
		<link>http://t3ch.com/blog/random-reuters-thomson-reuters-streetapps-challenge/</link>
		<comments>http://t3ch.com/blog/random-reuters-thomson-reuters-streetapps-challenge/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 16:33:23 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=532</guid>
		<description><![CDATA[Paul Burke and myself developed Random Reuters for Android and entered it into the StreetApps Challenge. Check out the demo video and full details at www.RandomReuters.com Vote for us now at http://streetappschallenge.com/solutions/21]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://t3ch.com/wp-content/uploads/2010/08/launcher2.png"><img class="size-full wp-image-533  aligncenter" title="launcher2" src="http://t3ch.com/wp-content/uploads/2010/08/launcher2.png" alt="" width="244" height="550" /></a></p>
<p><a href="http://www.finermobile.com" onclick="pageTracker._trackPageview('/outgoing/www.finermobile.com?referer=');">Paul Burke</a> and myself developed Random Reuters for Android and entered it into the StreetApps Challenge.</p>
<p>Check out the demo video and full details at <a href="http://www.randomreuters.com" onclick="pageTracker._trackPageview('/outgoing/www.randomreuters.com?referer=');">www.RandomReuters.com</a></p>
<p>Vote for us now at <a href="http://streetappschallenge.com/solutions/21" onclick="pageTracker._trackPageview('/outgoing/streetappschallenge.com/solutions/21?referer=');">http://streetappschallenge.com/solutions/21</a></p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/random-reuters-thomson-reuters-streetapps-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Project: WordPress Dev Tools</title>
		<link>http://t3ch.com/blog/open-source-project-wordpress-dev-tools/</link>
		<comments>http://t3ch.com/blog/open-source-project-wordpress-dev-tools/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 16:55:34 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=517</guid>
		<description><![CDATA[I&#8217;ve been maintaining a bunch of BASH scripts for working with my WordPress sites.  Moving the databases from prod to dev environments, working with the source code repos, etc.  So I am migrating all this into a new open source project &#8216;WordPress Dev Tools&#8217;.  The language of choice is Python and everything is object-oriented.  It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been maintaining a bunch of BASH scripts for working with my WordPress sites.  Moving the databases from prod to dev environments, working with the source code repos, etc.  So I am migrating all this into a new open source project &#8216;WordPress Dev Tools&#8217;.  The language of choice is Python and everything is object-oriented.  It&#8217;s super simple right now, but I anticipate increasing functionality weekly.</p>
<p>Check it out, contribute, tell your friends..  <a title="http://github.com/joet3ch/wordpress-dev-tools" href="http://github.com/joet3ch/wordpress-dev-tools" target="_blank" onclick="pageTracker._trackPageview('/outgoing/github.com/joet3ch/wordpress-dev-tools?referer=');">http://github.com/joet3ch/wordpress-dev-tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/open-source-project-wordpress-dev-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cya Mouse!</title>
		<link>http://t3ch.com/blog/cya-mouse/</link>
		<comments>http://t3ch.com/blog/cya-mouse/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 16:25:40 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=508</guid>
		<description><![CDATA[Received the new Magic Trackpad today from Apple&#8230; It rocks!! The bluetooth keyboard and trackpad fit together perfectly. The finger gestures are going to increase productivity. I was able to ditch the wrist-rest for the mouse. It is much larger than the trackpad on the MacBook Pro, but small enough to throw in the bag. [...]]]></description>
			<content:encoded><![CDATA[<p>Received the new Magic Trackpad today from Apple&#8230;  It rocks!!</p>
<p>The bluetooth keyboard and trackpad fit together perfectly.</p>
<p>The finger gestures are going to increase productivity.</p>
<p>I was able to ditch the wrist-rest for the mouse.</p>
<p>It is much larger than the trackpad on the MacBook Pro, but small enough to throw in the bag.</p>
<p><a href="http://t3ch.com/wp-content/uploads/2010/07/4846792640_dfd11a38a1_b.jpg"><img src="http://t3ch.com/wp-content/uploads/2010/07/4846792640_dfd11a38a1_b-300x224.jpg" alt="" title="Apple Magic Trackpad" width="300" height="224" class="aligncenter size-medium wp-image-509" /></a></p>
<p>Now it is time to order a second one!</p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/cya-mouse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shrink Linux Virtual Disks With VMWare Fusion</title>
		<link>http://t3ch.com/blog/shrink-linux-virtual-disks-with-vmware-fusion/</link>
		<comments>http://t3ch.com/blog/shrink-linux-virtual-disks-with-vmware-fusion/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 23:35:19 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=503</guid>
		<description><![CDATA[The &#8216;Disk Cleanup&#8217; function in the VMWare Fusion GUI seems to be of no help with shrinking Linux virtual disks. Use the VMWare CLI tools within your virtual machine for real results. This method just shrunk my disk by ~50%! [root@bubbles.t3ch.com ~]# vmware-toolbox-cmd disk list / /boot [root@bubbles.t3ch.com ~]# vmware-toolbox-cmd disk shrink / Progress: 100 [...]]]></description>
			<content:encoded><![CDATA[<p>The &#8216;Disk Cleanup&#8217; function in the VMWare Fusion GUI seems to be of no help with shrinking Linux virtual disks.  Use the VMWare CLI tools within your virtual machine for real results.  This method just shrunk my disk by ~50%!</p>
<pre class="brush: bash;">

[root@bubbles.t3ch.com ~]# vmware-toolbox-cmd disk list
/
/boot
[root@bubbles.t3ch.com ~]# vmware-toolbox-cmd disk shrink /
Progress: 100 [===========&gt;]
</pre>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/shrink-linux-virtual-disks-with-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triple Displays With a Macbook Pro</title>
		<link>http://t3ch.com/blog/triple-displays-with-a-macbook-pro/</link>
		<comments>http://t3ch.com/blog/triple-displays-with-a-macbook-pro/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 02:11:59 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[office]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=420</guid>
		<description><![CDATA[I am running 3 displays on the Apple Macbook Pro by using the Sewell Minideck USB to DVI adapter. 1 &#8211; 1440&#215;900 &#8211; 15.4&#8243; Apple Macbook LED Display 2 &#8211; 1920&#215;1200 &#8211; 24&#8243; Apple Cinema LED Display 3 &#8211; 1920&#215;1200 &#8211; 24&#8243; Samsung 2433BW I was skeptical of the usb video adapter since the previous [...]]]></description>
			<content:encoded><![CDATA[<p>I am running 3 displays on the Apple Macbook Pro by using the <a href="http://sewelldirect.com/Sewell-Minideck-USB-to-DVI-Display-Adapter.asp" onclick="pageTracker._trackPageview('/outgoing/sewelldirect.com/Sewell-Minideck-USB-to-DVI-Display-Adapter.asp?referer=');">Sewell Minideck USB to DVI adapter</a>.</p>
<div id="attachment_426" class="wp-caption aligncenter" style="width: 310px"><a href="http://t3ch.com/wp-content/uploads/2010/03/DSCN07251.jpg"><img src="http://t3ch.com/wp-content/uploads/2010/03/DSCN07251-300x207.jpg" alt="" title="3 display" width="300" height="207" class="size-medium wp-image-426" /></a><p class="wp-caption-text">Click for full size</p></div><br />
<center><br />
1 &#8211; 1440&#215;900 &#8211; 15.4&#8243; Apple Macbook LED Display<br />
2 &#8211; 1920&#215;1200 &#8211; 24&#8243; Apple Cinema LED Display<br />
3 &#8211; 1920&#215;1200 &#8211; 24&#8243; Samsung 2433BW<br />
</center><br />
I was skeptical of the usb video adapter since the previous models I tried had all sucked horribly.  For the past 3 weeks the Sewell adapter has performed way beyond my expectations, however I don&#8217;t recommend watching fullscreen HD movies on it since VLC consumed about half of the CPU resources.  A utility that is essential (even with just 1 display), is SizeUp by <a href="http://www.irradiatedsoftware.com" onclick="pageTracker._trackPageview('/outgoing/www.irradiatedsoftware.com?referer=');">Irradiated Software</a> which enables shortcuts to auto-position windows.  This is 1 of the most handy utilities for Mac OS!</p>
<p>While I&#8217;m taking pics, here is my command center:<br />
<div id="attachment_431" class="wp-caption aligncenter" style="width: 310px"><a href="http://t3ch.com/wp-content/uploads/2010/03/DSCN0732.jpg"><img src="http://t3ch.com/wp-content/uploads/2010/03/DSCN0732-300x225.jpg" alt="" title="Office" width="300" height="225" class="size-medium wp-image-431" /></a><p class="wp-caption-text">Click for full size</p></div>
<p>And the Sewell adapter in production:<br />
<div id="attachment_432" class="wp-caption aligncenter" style="width: 310px"><a href="http://t3ch.com/wp-content/uploads/2010/03/DSCN0735.jpg"><img src="http://t3ch.com/wp-content/uploads/2010/03/DSCN0735-300x225.jpg" alt="" title="DSCN0735" width="300" height="225" class="size-medium wp-image-432" /></a><p class="wp-caption-text">Click for full size</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/triple-displays-with-a-macbook-pro/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Resize TrueCrypt Volumes on Mac OS</title>
		<link>http://t3ch.com/blog/resize-truecrypt-volumes-on-mac-os/</link>
		<comments>http://t3ch.com/blog/resize-truecrypt-volumes-on-mac-os/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 23:33:27 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=409</guid>
		<description><![CDATA[Follow these instructions to resize TrueCrypt volumes on Mac OS without losing your data. ** Definitely backup your stuff (If your not already, omg.) before attempting this on a live system. ** Proceed at your own risk! This process works great for me, but you may have different results. I am not responsible for anything [...]]]></description>
			<content:encoded><![CDATA[<p>Follow these instructions to resize <a href="http://www.truecrypt.com" onclick="pageTracker._trackPageview('/outgoing/www.truecrypt.com?referer=');">TrueCrypt</a> volumes on Mac OS without losing your data.</p>
<p>** Definitely backup your stuff (If your not already, omg.) before attempting this on a live system.  </p>
<p>** Proceed at your own risk!  This process works great for me, but you may have different results.  I am not responsible for anything <img src='http://t3ch.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Pre-requisites:<br />
- Access to a win* box<br />
- TrueCrypt v6.2a installed on win* box<br />
- Download extcv binaries, available at <a href="http://sourceforge.net/projects/extcv/" onclick="pageTracker._trackPageview('/outgoing/sourceforge.net/projects/extcv/?referer=');">http://sourceforge.net/projects/extcv</a><br />
- TrueCrypt volume must not have any &#8216;hidden&#8217; volumes (they will be destroyed)<br />
- Filesystem on the TrueCrypt volume must use the GUID partition scheme and be formatted as HFS+ (aka Mac OS Extended Journaled)<br />
- Unmount the TrueCrypt image before starting.</p>
<p>Ok, now lets get down to business&#8230;</p>
<p>1.  Launch &#8216;extcv&#8217; on the win* box.</p>
<p>2.  Select the file that contains your TrueCrypt volume.</p>
<p>3.  Enter the new size and go.</p>
<p>** I am assuming you have a solution to move or access your TrueCrypt file from the win* and Mac boxes.  I personally just used a WinXP vm in Parallels and used shared folders to access the TrueCrypt file on the Mac. </p>
<p>4.  Mount the TrueCrypt volume on your Mac.</p>
<p>5.  Launch &#8216;Terminal.app&#8217;.</p>
<p>6.  View your volumes and current sizes by executing &#8216;diskutil list&#8217;</p>
<pre class="brush: bash;">
laptop01:~ root# diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *320.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            319.7 GB   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS hd                      127.7 GB   disk1s2
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            t3ch                  *37.6 TB    disk2
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme untitled               *524.0 MB   disk3
   1:                  Apple_HFS part1                   100.0 MB   disk3s1
</pre>
<p>In my scenario, &#8216;/dev/disk3&#8242; is the TrueCrypt volume and you can see that the size is now 524MB.  The partition I want to expand is &#8216;disk3s1&#8242; which is currently 100MB.</p>
<p>7.  View the size limits by executing &#8216;diskutil resizeVolume disk3s1 limits&#8217;</p>
<pre class="brush: bash;">
laptop01:~ root# diskutil resizeVolume disk3s1 limits
For device disk3s1 part1:
        Current size:  100.0 MB (100028416 Bytes)
        Minimum size:  100.0 MB (100028416 Bytes)
        Maximum size:  389.8 MB (389767168 Bytes)
</pre>
<p>Clearly you see that the max size our new partition could be is 389.8MB</p>
<p>8.  Now we are going to do the live resize.  This is the scary part (double check your backups before completing this step)!</p>
<p>I want my partition to be approximately 250MB.  Please read the docs &#8216;man diskutil&#8217; to see if you want to use different syntax.</p>
<p>Execute &#8216;diskutil resizeVolume disk3s1 250M&#8217;</p>
<pre class="brush: bash;">
laptop01:~ root# diskutil resizeVolume disk3s1 250M
Started partitioning on disk3s1 part1
Verifying disk
Resizing
Finished partitioning on disk3s1 part1
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *524.0 MB   disk3
   1:                  Apple_HFS part1                   250.0 MB   disk3s1
</pre>
<p>Confirm the data is still there:</p>
<pre class="brush: bash;">
laptop01:~ root# ls -l
total 80
-rw-r--r--  1 root  wheel      3 Nov 19  2008 .CFUserTextEncoding
-r--r--r--  1 root  wheel     10 Jun 23  2009 .forward
drwxr-xr-x  3 root  wheel    102 Feb 23 19:48 .gem
-rw-------  1 root  wheel     35 Jul 22  2009 .lesshst
-rw-------  1 root  wheel   1204 Nov 20 11:30 .localized
drwx------  3 root  wheel    102 Nov 21  2008 .macports
-rw-------  1 root  wheel    253 Dec 10  2008 .mysql_history
-rw-------  1 root  wheel  10139 Mar 12 18:54 .sh_history
drwx------  5 root  wheel    170 Dec 22 11:01 .ssh
drwxr-xr-x  6 root  wheel    204 Nov 21  2008 .subversion
-rw-------  1 root  wheel   9190 Jan 22 13:45 .viminfo
drwx------  9 root  wheel    306 Feb 10 11:49 Library
drwx------  5 root  wheel    170 Nov 19  2008 Library (from old Mac)
drwxr-xr-x  2 root  wheel     68 Mar  8 00:05 test1
laptop01:~ root#
</pre>
<p>Great, you made it to the end!  Hope you enjoyed&#8230;  Please post comments if you figure out better solutions.</p>
<p>-joe</p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/resize-truecrypt-volumes-on-mac-os/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Jailed SFTP Users With CentOS</title>
		<link>http://t3ch.com/blog/jailed-sftp-users-with-centos/</link>
		<comments>http://t3ch.com/blog/jailed-sftp-users-with-centos/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 23:02:17 +0000</pubDate>
		<dc:creator>joet3ch</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://t3ch.com/?p=391</guid>
		<description><![CDATA[Offering SFTP-only jailed user accounts is useful in many scenarios such as shared web hosts, storage space for friends, etc. This tutorial is specific to CentOS 5.4 x86 64-bit. Other flavors will vary. ** Make sure you are root or using Sudo 1. Upgrade to OpenSSH 5.x ## fetch the packages wget http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/x86_64/openssh-5.1p1-3.el5.hrb.x86_64.rpm wget http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/x86_64/openssh-clients-5.1p1-3.el5.hrb.x86_64.rpm [...]]]></description>
			<content:encoded><![CDATA[<p>Offering SFTP-only jailed user accounts is useful in many scenarios such as shared web hosts, storage space for friends, etc.</p>
<p>This tutorial is specific to <b>CentOS 5.4 x86 64-bit</b>.  Other flavors will vary.</p>
<p><b>** Make sure you are root or using Sudo</b></p>
<h2>1.  Upgrade to OpenSSH 5.x</h2>
<pre class="brush: bash;">
## fetch the packages
wget http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/x86_64/openssh-5.1p1-3.el5.hrb.x86_64.rpm
wget http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/x86_64/openssh-clients-5.1p1-3.el5.hrb.x86_64.rpm
wget http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/x86_64/openssh-server-5.1p1-3.el5.hrb.x86_64.rpm

## upgrade OpenSSH
rpm -Uvh openssh-*
</pre>
<h2>2.  Comment out the following line in &#8216;/etc/ssh/sshd_config&#8217;</h2>
<pre class="brush: bash;">
Subsystem     sftp     /usr/libexec/openssh/sftp-server
</pre>
<h2>3.  Append these lines to the end of &#8216;/etc/ssh/sshd_config&#8217;</h2>
<pre class="brush: bash;">
Subsystem     sftp     internal-sftp
Match Group sftponly
    ChrootDirectory /home/%u
    ForceCommand internal-sftp
    AllowTcpForwarding no
</pre>
<h2>4.  Add the &#8216;sftponly&#8217; user group</h2>
<pre class="brush: bash;">
groupadd sftponly
</pre>
<h2>5.  Modify the user&#8217;s group and shell</h2>
<p>(I&#8217;ll use the completely random username: <b>bree_olson</b>)</p>
<pre class="brush: bash;">
usermod -g sftponly bree_olson
usermod -s /bin/false bree_olson
</pre>
<h2>6.  Set the proper filesystem permissions</h2>
<p>(Bree&#8217;s home directory is <b>/home/bree_olson</b> and her website is in  <b>/home/bree_olson/public_html</b>)</p>
<pre class="brush: bash;">
chmod 755 /home/bree_olson/
chmod 755 /home/bree_olson
chown root:root /home/bree_olson
chown bree_olson:sftponly /home/bree_olson/public_html
</pre>
<h2>7.  Restart the SSHD daemon</h2>
<pre class="brush: bash;">
/etc/init.d/sshd restart
</pre>
<p>And that is it!  Just be sure to repeat steps 5 and 6 for all the <del datetime="2010-03-07T22:39:00+00:00">pornstars</del> users that you wish to lockdown.</p>
]]></content:encoded>
			<wfw:commentRss>http://t3ch.com/blog/jailed-sftp-users-with-centos/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
