<?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>Sun Solaris System Admin &#187; root</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/root/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 21 Sep 2011 19:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>Fix errors in commands in Sun ILOM</title>
		<link>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-errors-in-commands-in-sun-ilom</link>
		<comments>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:17:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[ilom]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[SP]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sunservice]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=105</guid>
		<description><![CDATA[There has been more than one instance when the Sun ILOM was not responsive to commands or were throwing errors. For instance, when you try to run the following command to reset the ILOM -&#62; reset /SP Are you sure you want to reset /SP (y/n)? y Performing hard reset on /SP failed reset: No <a href='http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>There has been more than one instance when the Sun ILOM was not responsive to commands or were throwing errors. For instance, when you try to run the following command to reset the ILOM</p>
<blockquote><p>-&gt; reset /SP<br />
Are you sure you want to reset /SP (y/n)? y<br />
Performing hard reset on /SP failed<br />
reset: No such inventory</p></blockquote>
<p>or when you try to reset the ILOM password, you may get the error &#8220;<em><strong>Set: No such object value</strong></em>&#8221;<br />
<span id="more-105"></span>To resolve the problem, you can actually logon to the ILOM as the user &#8220;sunservice&#8221; with the password of the ILOM root user and then reboot the ILOM (equivalne to &#8220;reset /SP&#8221;) with the command &#8220;reboot&#8221; as follows. Clearly as you can see from this warning SUN doesn&#8217;t recommend it so use it at your own risk:</p>
<blockquote><p><span style="color: #ff0000;"><strong>login as: sunservice</strong></span><br />
Using keyboard-interactive authentication.<br />
Password:</p>
<p>Copyright 2007 Sun Microsystems, Inc. All rights reserved.<br />
Use is subject to license terms.</p>
<p>WARNING: The &#8220;sunservice&#8221; account is provided solely to allow<br />
Sun Services to perform diagnosis and recovery tasks. Customer use of<br />
the &#8220;sunservice&#8221; account may interfere with the correct operation of<br />
ILOM and is not supported other than to perform recovery procedures as<br />
documented by Sun Microsystems. Normal ILOM operations should always be<br />
performed using the root account. Further usage of the &#8220;sunservice&#8221;<br />
account implies your agreement with these terms.<br />
<span style="color: #ff0000;"><strong>[(flash)root@SERV-ILOM:~]# reboot<br />
/sbin/reboot</strong></span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/hardware/fix-errors-in-commands-in-sun-ilom/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to recover/reset root password in Sun solaris (x86)</title>
		<link>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-recoverreset-root-password-in-sun-solaris-x86</link>
		<comments>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 17:56:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/</guid>
		<description><![CDATA[I discussed here about resetting the password on Sun Solaris Operating system in SPARC platform. While the procedure is almost the same wherein you boot with the CD into single user mode and mount the root partition, here we discuss the procedure to reset the password for the root user on the x86 platform. It is recommeded that <a href='http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<p>I discussed <a target="_blank" href="http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/" title="Sun Solaris x86 reset/recover root password">here</a> about resetting the password on Sun Solaris Operating system in SPARC platform. While the procedure is almost the same wherein you boot with the CD into single user mode and mount the root partition, here we discuss the procedure to reset the password for the root user on the x86 platform.</p>
<p>It is recommeded that the security for the physical access to the server is restricted so as to ensure that there is no unauthorized access and anyone who follows this routine is an authorized personnel.</p>
<p><span id="more-24"></span></p>
<p>Boot the server with a Sun Solaris Operating System CD (I&#8217;m using a Solaris 10 CD but doesn&#8217;t matter really) or a network boot with a JumpStart server. Change the Boot order accordingly in your x86 system and start the server and launch a single user mode (No Password).</p>
<p>In Solaris 10, you have the default Fail Safe boot option in the Boot Loader. With this you do not need a CD or JumpStart server as selecting it will launch the Single-User shell. I haven&#8217;t used the early Solaris versions on an x86 system so if anyone knows it is availabe then please post your comments.</p>
<p>When you boot from the CD, select the option for the Sigle-user mode (Option 6 on Solaris 10 CD)</p>
<p>This will look for the currently installed Solaris OS on your system and prompts a Yes/No question to mount the Root filesystem as a Read/Write file system onto /a.</p>
<p>Select yes to mount the root file system (/dev/dsk/c0t0d0s0 here) on /a. If you select No, no harm as you still can mount it manually using:</p>
<blockquote><p><strong>solaris# mount /dev/dsk/c0t0d0s0 /a</strong></p></blockquote>
<p>NOTE: /a is a temporary mount point that is available when you boot from CD or a JumpStart server</p>
<p>Now, with the root file system mounted on /a. All you need to do is to edit the shadow file and remove the encrypted password for root.</p>
<blockquote><p><strong>solaris# vi /a/etc/shadow</strong></p></blockquote>
<p>Now, exit the mounted filesysten, unmount the root filesystem and reboot the system to single-user mode booting of the disk.</p>
<blockquote><p><strong>solaris# cd /</strong></p>
<p><strong>solaris# umount /a</strong></p>
<p><strong>solaris# init s</strong></p></blockquote>
<p>This should boot of the disk and take you to the single-user mode. Press enter at the prompt to enter a password for root.</p>
<p>This should allow you to login to the system. Once in, set the password and change to multi-user mode.</p>
<p>NOTE: Single-User mode is only to ensure that the root user without password is not exposed to others if started in multi-user mode before being set with a new password.</p>
<blockquote><p><strong>solaris# passwd root</strong></p>
<p><strong>solaris# reboot</strong></p></blockquote>
<p>This should do. You should now be able to logon as root with the new password.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-x86/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to recover/reset root password in Sun solaris (SPARC)</title>
		<link>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-recoverreset-root-password-in-sun-solaris-sparc</link>
		<comments>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 17:42:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Solaris 7]]></category>
		<category><![CDATA[Solaris 8]]></category>
		<category><![CDATA[Solaris 9]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/</guid>
		<description><![CDATA[There is every little chance that one loses or rather forgets the root password of his Sun Solaris servers. In the event, this happens, there is a way out of it. Well the way and infact the only way is to reset the password as there is no way to recover it. Recovering/restting the password <a href='http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>There is every little chance that one loses or rather forgets the root password of his Sun Solaris servers. In the event, this happens, there is a way out of it. Well the way and infact the only way is to reset the password as there is no way to recover it. Recovering/restting the password involves booting the server in Single User mode and mounting the root file system.</p>
<p><span id="more-23"></span></p>
<p>Ofcourse, it is recommeded that the security for the physical access to the server is restricted so as to ensure that there is no unauthorized access and anyone who follows this routine is an authorized personnel.</p>
<p>Boot the server with a Sun Solaris Operating System CD (I&#8217;m using a Solaris 10 CD but doesn&#8217;t matter really) or a network boot with a JumpStart server from the OBP OK prompt.</p>
<blockquote><p><strong>OK boot cdrom -s</strong></p></blockquote>
<p>or</p>
<blockquote><p><strong>OK boot net -s</strong></p></blockquote>
<p>This will boot the server from the CD or Jumpstart server and launch a single user mode (No Password).</p>
<p>Mount the root file system (assume /dev/dsk/c0t0d0s0 here) onto /a</p>
<blockquote><p><strong>solaris# mount /dev/dsk/c0t0d0s0 /a</strong></p></blockquote>
<p>NOTE: /a is a temporary mount point that is available when you boot from CD or a JumpStart server</p>
<p>Now, with the root file system mounted on /a. All you need to do is to edit the shadow file and remove the encrypted password for root.</p>
<blockquote><p><strong>solaris# vi /a/etc/shadow</strong></p></blockquote>
<p>Now, exit the mounted filesystem, unmount the root filesystem and reboot the system to single-user mode booting of the disk.</p>
<blockquote><p><strong>solaris# cd /</strong></p>
<p><strong>solaris# umount /a</strong></p>
<p><strong>solaris# init s</strong></p></blockquote>
<p>This should boot of the disk and take you to the single-user mode. Press enter at the prompt to enter a password for root.</p>
<p>This should allow you to login to the system. Once in, set the password and change to multi-user mode.</p>
<p>NOTE: Single-User mode is only to ensure that the root user without password is not exposed to others if started in multi-user mode before being set with a new password.</p>
<blockquote><p><strong>solaris# passwd root</strong></p>
<p><strong>solaris# reboot</strong></p></blockquote>
<p>This should do. You should now be able to logon with the new password set for root</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/how-to-recoverreset-root-password-in-sun-solaris-sparc/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

