<?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>KennyNet &#187; hacks</title>
	<atom:link href="http://www.kennynet.co.uk/tag/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kennynet.co.uk</link>
	<description>Ramblings of a PHP developer</description>
	<lastBuildDate>Thu, 01 Jul 2010 21:26:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Iomega StorCenter Pro 200rl root access</title>
		<link>http://www.kennynet.co.uk/2009/03/13/iomega-storcenter-pro-200rl-root-access/</link>
		<comments>http://www.kennynet.co.uk/2009/03/13/iomega-storcenter-pro-200rl-root-access/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:29:41 +0000</pubDate>
		<dc:creator>Kenny Millington</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://www.kennynet.co.uk/?p=86</guid>
		<description><![CDATA[So we got one of these NAS boxes at work and like all self respecting sysadmins we wanted root access on the box ideally with SSH, unfortunately the NAS server doesn&#8217;t support this. However it is trivial to obtain root access by using an Ubuntu live CD as follows.
Firstly boot off the live CD and [...]]]></description>
			<content:encoded><![CDATA[<p>So we got one of these NAS boxes at work and like all self respecting sysadmins we wanted root access on the box ideally with SSH, unfortunately the NAS server doesn&#8217;t support this. However it is trivial to obtain root access by using an Ubuntu live CD as follows.</p>
<p>Firstly boot off the live CD and once you have your live CD desktop open up a terminal window, we now need access to the system drive on the NAS box which we can acquire as follows:-</p>
<pre>$ sudo apt-get install mdadm
$ sudo mdadm --assemble --scan
$ sudo mount /dev/md3 /mnt</pre>
<p>Next we need to make sure we&#8217;re working on the NAS system drive for all our commands so let&#8217;s chroot into it:-</p>
<pre>$ sudo chroot /mnt</pre>
<p>To reset the root password we need to run:-</p>
<pre> # passwd</pre>
<p>To enable SSH (which is already installed) on startup we need to run:-</p>
<pre># update-rc.d ssh defaults 16</pre>
<p>Finally we cleanup and reboot the NAS server:-</p>
<pre># exit
$ sudo umount /mnt
$ sudo reboot</pre>
<p>Don&#8217;t forget to remove/eject the CD when the Ubuntu live CD prompts you to.</p>
<p>Now once the NAS reboots into its native OS (which happens to be Debian) you&#8217;ll find you&#8217;ll be able to login to the box as root with all the power that comes with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennynet.co.uk/2009/03/13/iomega-storcenter-pro-200rl-root-access/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
