<?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:go='http://ns.gigaom.com/'
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>GigaOM &#187; Apple</title>
	<atom:link href="http://gigaom.com/apple/tag/apple-remote-desktop/feed/" rel="self" type="application/rss+xml" />
	<link>http://gigaom.com</link>
	<description></description>
	<lastBuildDate>Sun, 27 May 2012 08:45:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gigaom.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0db8f6557d022075dbbf010c54d46d93?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>GigaOM &#187; Apple</title>
		<link>http://gigaom.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gigaom.com/osd.xml" title="GigaOM" />
	<atom:link rel='hub' href='http://gigaom.com/?pushpress=hub'/>
		<item>
		<title>How-To: Use SSH to Investigate Folder Sizes</title>
		<link>http://gigaom.com/apple/how-to-use-ssh-to-investigate-folder-sizes/</link>
		<comments>http://gigaom.com/apple/how-to-use-ssh-to-investigate-folder-sizes/#comments</comments>
		<pubDate>Tue, 04 May 2010 15:14:01 +0000</pubDate>
		<dc:creator>Andrew Flocchini</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[apple remote desktop]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://theappleblog.com/?p=45109</guid>
		<description><![CDATA[Users can let their Home folder get out of hand and slowly kill any remaining hard drive space. I use Apple Remote Desktop if I need to find out who's using up too much space with their Home folder and SSH works perfectly for this.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gigaom.com&#038;blog=14960843&#038;post=174201&#038;subd=gigaom2&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img  title="Terminal icon" src="http://juicebox.theappleblog.com/e/2a1da50d57f84977.png/l" alt="" width="240" height="240" class=" alignleft" />Sometimes users can let their Home folder get out of hand and slowly kill any remaining hard drive space. I like to use <strong>Apple Remote Desktop</strong> if I need to find out who&#8217;s using up too much space with their Home folder. I don&#8217;t want to just remote in if someone&#8217;s working on the machine so SSH works perfectly for this.</p>
<h2>Enable SSH</h2>
<p>If <strong>SSH</strong> isn&#8217;t enabled on your target machine, send this command through <strong>Apple Remote Desktop</strong> as root.</p>
<p><code>/sbin/service ssh start</code></p>
<p>This will enable <strong>SSH</strong> until the machine is rebooted.</p>
<p><img  title="ard_start_ssh_service" src="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-2-49-50-pm1.png?w=590&h=519" alt="" width="590" height="519" class=" alignleft" /></p>
<h2>Start an SSH session</h2>
<p>Open up <strong>Terminal</strong> and make a connection to the target machine using its IP address.</p>
<p><code>ssh 10.0.0.1</code></p>
<p><img  title="start_ssh_connection" src="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-2-53-22-pm1.png?w=423&h=194" alt="" width="423" height="194" class=" alignleft" /></p>
<p>If you&#8217;re in an Active Directory environment like me, enter the password that matches your current username you&#8217;re logged in with. Otherwise your SSH command will need to pass along a username that exists on the target computer. Something similar to the following.</p>
<p><code>ssh 10.0.0.1 -l admin</code></p>
<h2>Explore the hard drive</h2>
<p>Once you&#8217;ve successfully made your connection, check out the disk space with the following command.</p>
<p><code>df</code></p>
<p>For our situation, the <strong>disk0s2</strong> is what we&#8217;re looking at. The HDD is getting pretty full.</p>
<p>In my situation, I know that the most space is probably being wasted in the Users directories so lets head there and get an idea of what&#8217;s going on.</p>
<p><code>cd /Users/</code></p>
<p>Now let&#8217;s run the <strong>DU</strong> command and see what users have the biggest folder.</p>
<p><code>sudo du -sh *</code></p>
<p style="text-align: center;"><img  title="ssh_du_command" src="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-3-00-25-pm2.png?w=610&h=189" alt="" width="610" height="189" class=" alignleft" /></p>
<p>You will be prompted for your password, and it may seem to go slowly, but you will get a nice list showing you the size of everyone&#8217;s Home folder.</p>
<p style="text-align: left;"><img  title="ssh_user_folder_sizes" src="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-3-05-59-pm.png?w=351&h=614" alt="" width="351" height="614" class=" alignleft" />Looks like we&#8217;ve found some Home folders that need to be purged. This is also easy to do using Finder but sometimes you can&#8217;t disturb the machine and Terminal is perfect for that.</p>
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gigaom.com&#038;blog=14960843&#038;post=174201&#038;subd=gigaom2&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gigaom.com/apple/how-to-use-ssh-to-investigate-folder-sizes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	 <go:thumbnail>http://gigapple.files.wordpress.com/2010/05/terminal_thumb.jpg?w=130</go:thumbnail> 
		<media:thumbnail url="http://gigapple.files.wordpress.com/2010/05/terminal_thumb.jpg?w=210" />
		<media:content url="http://gigapple.files.wordpress.com/2010/05/terminal_thumb.jpg?w=210" medium="image">
			<media:title type="html">terminal_thumb</media:title>
		</media:content>

		<media:content url="http://1.gravatar.com/avatar/56e04118e8fb1fab8caa42294f7590ad?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">Andrew Flocchini</media:title>
		</media:content>

		<media:content url="http://juicebox.theappleblog.com/e/2a1da50d57f84977.png/l" medium="image">
			<media:title type="html">Terminal icon</media:title>
		</media:content>

		<media:content url="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-2-49-50-pm1.png" medium="image">
			<media:title type="html">ard_start_ssh_service</media:title>
		</media:content>

		<media:content url="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-2-53-22-pm1.png" medium="image">
			<media:title type="html">start_ssh_connection</media:title>
		</media:content>

		<media:content url="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-3-00-25-pm2.png" medium="image">
			<media:title type="html">ssh_du_command</media:title>
		</media:content>

		<media:content url="http://gigapple.files.wordpress.com/2010/05/screen-shot-2010-05-03-at-3-05-59-pm.png" medium="image">
			<media:title type="html">ssh_user_folder_sizes</media:title>
		</media:content>
	</item>
		<item>
		<title>Unpatched Flaw In Apple Remote Desktop Brings About Trojans &amp; Community Fixes</title>
		<link>http://gigaom.com/apple/unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes/</link>
		<comments>http://gigaom.com/apple/unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 21:36:23 +0000</pubDate>
		<dc:creator>Bob Rudis</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[Commentary]]></category>
		<category><![CDATA[apple remote desktop]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[trojan horse]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://theappleblog.com/?p=3553</guid>
		<description><![CDATA[Much ado has been made this week regarding the recent Apple Remote Desktop Root Privilege Escalation Vulnerability. The short story is that there is a flaw in a piece of software that Apple ships &#038; installs with every Leopard instance which enables a local user to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gigaom.com&#038;blog=14960843&#038;post=171503&#038;subd=gigaom2&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://gigapple.files.wordpress.com/2008/06/lock-icon.gif?w=125&h=181" alt="" title="lock-icon" width="125" height="181"  class=" alignleft" />Much ado has been made this week regarding the <a href="http://isc.sans.org/diary.html?storyid=4604&#038;rss">recent Apple Remote Desktop Root Privilege Escalation Vulnerability</a>. The short story is that there is a flaw in a piece of software that Apple ships &#038; installs with every Leopard instance which enables a local user to run scripts with <code>root</code> privileges (meaning they can do <i>anything</i> on the system).</p>
<p>As you may have <a href="http://www.intego.com/news/ism0802.asp">read</a>, this flaw is not capable of being exploited remotely, but multiple variants of a <a href="http://www.theregister.co.uk/2008/06/23/mac_trojan/">new Trojan</a> (dubbed &#8220;AppleScript-THT&#8221;) are floating around the internets which wreak all sorts of havoc on your system once infected. Some install keystroke logging, usurp your iSight camera to take pictures or even capturing screenshots (some do much worse).</p>
<p>The Washington Post has a great <a href="http://blog.washingtonpost.com/securityfix/2008/06/serious_security_vulnerabilty_1.html">blog post</a> which gives a great amount of detail on the problem and even mentions a few solutions. The quickest way (until Apple releases a patch) to protect yourself is to open up a Terminal window and enter the following text:</p>
<div style="width:500px;white-space:nowrap;overflow:scroll=yes;overflow-x:scroll; overflow-y:hidden;"><code>osascript -e 'tell app "ARDAgent" to do shell script "chmod 0555 /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent"';</code></div>
<p>If that was successful, then you should <b>not</b> see &#8220;root&#8221; when you paste this into the Terminal window:</p>
<p><code>osascript -e 'tell app "ARDAgent" to do shell script "whoami"';</code></p>
<p><a href="http://www.securemac.com/applescript-tht-trojan-horse.php">SecureMac</a> has updated MacScan to account for these new beasts and DAT updates from other vendors are forthcoming.</p>
<p><b>Until Apple releases a patch and you install it</b> be very careful what you download and execute, both from your browser or chat clients.</p>
<p>If you have any questions or concerns, please drop a note in the comments and I will monitor this thread closely over the coming days to try to help as much as possible. Watch for a TAB post when Apple issues a fix.</p>
<p><strong>Related research and analysis from GigaOM Pro:</strong><br />Subscriber content. <a href="http://pro.gigaom.com/?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171503+unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes&utm_content=hrbrmstr">Sign up for a free trial</a>.</p><ul><li><a href="http://pro.gigaom.com/2011/02/content-farms-the-players-the-benefits-the-risks/?utm_source=apple&amp;utm_medium=editorial&amp;utm_campaign=waterfall?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171503+unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes&utm_content=hrbrmstr">Content Farms: The Players, The Benefits, The&nbsp;Risks</a></li><li><a href="http://pro.gigaom.com/2011/03/why-ipad-2-will-lead-consumers-into-the-post-pc-era/?utm_source=apple&amp;utm_medium=editorial&amp;utm_campaign=waterfall?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171503+unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes&utm_content=hrbrmstr">Why iPad 2 Will Lead Consumers Into the Post-PC&nbsp;Era</a></li><li><a href="http://pro.gigaom.com/2011/03/the-near-term-evolution-of-social-commerce/?utm_source=apple&amp;utm_medium=editorial&amp;utm_campaign=waterfall?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171503+unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes&utm_content=hrbrmstr">The Near-Term Evolution of Social&nbsp;Commerce</a></li></ul><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gigaom.com&#038;blog=14960843&#038;post=171503&#038;subd=gigaom2&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gigaom.com/apple/unpatched-flaw-in-apple-remote-desktop-brings-about-trojans-community-fixes/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a08d08f6b541441fccf36bc6392a0784?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">hrbrmstr</media:title>
		</media:content>

		<media:content url="http://gigapple.files.wordpress.com/2008/06/lock-icon.gif" medium="image">
			<media:title type="html">lock-icon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
