<?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>Malaysia VMware Communities &#187; root</title>
	<atom:link href="http://malaysiavm.com/blog/tag/root/feed/" rel="self" type="application/rss+xml" />
	<link>http://malaysiavm.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 26 Apr 2012 15:54:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Enable Root Password for Single User Mode on vSphere 4</title>
		<link>http://malaysiavm.com/blog/how-to-enable-root-password-for-single-user-mode-on-vsphere-4/</link>
		<comments>http://malaysiavm.com/blog/how-to-enable-root-password-for-single-user-mode-on-vsphere-4/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 03:01:05 +0000</pubDate>
		<dc:creator>jlchannel</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[enable]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://malaysiavm.com/blog/?p=1338</guid>
		<description><![CDATA[You can easily found &#8220;how to reset the root password on ESX&#8221; articles on the web for an example VMware KB article 1317898, xtravirt, or Petri. However, unauthorized entry into single user mode is a risk. For security enhancement, you should enable password protect GRUB and enable root password for single user mode on vSphere [...]]]></description>
			<content:encoded><![CDATA[<p>You can easily found &#8220;<em>how to reset the root password on ESX</em>&#8221; articles on the web for an example <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1317898">VMware KB article 1317898</a>, <a href="http://xtravirt.com/node/180">xtravirt</a>, or <a href="http://www.petri.co.il/vmware-esx-server-root-password-reset-recovery-lost.htm">Petri</a>.</p>
<p>However, unauthorized entry into single user mode is a risk. For security enhancement, you should enable password protect GRUB and enable <a href="http://malaysiavm.com/blog/tag/root">root</a> password for single user mode on <a href="http://malaysiavm.com/blog/tag/vsphere">vSphere</a> 4.</p>
<p><strong>How To Enable Root Password for Single User Mode on vSphere 4</strong></p>
<ul>
<li> Login to vSphere <a href="http://malaysiavm.com/blog/tag/server">server</a> as root</li>
<li> Edit /etc/inittab file</li>
<li> # vi /etc/inittab</li>
<li> Insert &#8220;~~:S:wait:/sbin/sulogin&#8221; and reboot</li>
<p><a href="http://malaysiavm.com/blog/wp-content/uploads/2009/06/inittab.png" rel="shadowbox[sbpost-1338];player=img;"><img src="http://malaysiavm.com/blog/wp-content/uploads/2009/06/inittab.png" alt="inittab" width="506" height="165" /></a><br />
<code><br />
What is this mean?<br />
man <a href="http://malaysiavm.com/blog/tag/inittab">inittab</a> shows<br />
id:runlevels:action:process<br />
id = is a unique  sequence  of 1-4 characters which identifies an entry in inittab<br />
runlevels = lists the runlevels for which the specified action should be taken<br />
action = describes which action should be taken.<br />
process = specifies the process to be executed.<br />
S = Single user mode<br />
wait = The process will be started once when the specified runlevel is entered and init will wait for its termination.<br />
</code></p>
<li> You should be able to see password prompt during single user mode boot up</li>
<p><a href="http://malaysiavm.com/blog/wp-content/uploads/2009/06/single_root.png" rel="shadowbox[sbpost-1338];player=img;"><img src="http://malaysiavm.com/blog/wp-content/uploads/2009/06/single_root.png" alt="Enable Root Password for a Single Mode " width="506" height="313" /></a></ul>
<p><span id="more-1338"></span></p>
<p><strong>Password protecting <a href="http://malaysiavm.com/blog/tag/grub">GRUB</a> </strong><br />
<strong>Note:</strong> This may NOT really helpful to anyone of you because you&#8217;re require to enter password during boot up.</p>
<ul>
<li> Login to vSphere server as root</li>
<li>Type: # /sbin/grub-md5-crypt</li>
<li>Copy the encrypted password(e.g.$1$LgZD4/$vgg6d30on18oNlUB6FVew1) and paste into /boot/grub/grub.conf as example show below</li>
<li>You&#8217;re prompt to enter GRUB password as you enter just now before server boot up</li>
</ul>
<p><a href="http://malaysiavm.com/blog/wp-content/uploads/2009/06/grub_password.png" rel="shadowbox[sbpost-1338];player=img;"><img src="http://malaysiavm.com/blog/wp-content/uploads/2009/06/grub_password.png" alt="Enable GRUB password" width="506" height="477" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://malaysiavm.com/blog/how-to-enable-root-password-for-single-user-mode-on-vsphere-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.473 seconds -->

