<?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; password</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/password/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.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>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/</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 [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></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>5</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/</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 [...]]]></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>2</slash:comments>
		</item>
	</channel>
</rss>
