<?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>Linux, Open Source and Web 2.0 &#187; single-user mode</title>
	<atom:link href="http://www.itecsoftware.com/tag/single-user-mode/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itecsoftware.com</link>
	<description>Itec Software</description>
	<lastBuildDate>Wed, 16 Nov 2011 02:18:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to recover a lost Linux root password</title>
		<link>http://www.itecsoftware.com/how-to-recover-lost-linux-root-password?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-recover-lost-linux-root-password</link>
		<comments>http://www.itecsoftware.com/how-to-recover-lost-linux-root-password#comments</comments>
		<pubDate>Sun, 11 Oct 2009 17:49:10 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Useful Stuff]]></category>
		<category><![CDATA[forgot root password]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[recover password]]></category>
		<category><![CDATA[root password]]></category>
		<category><![CDATA[single-user mode]]></category>

		<guid isPermaLink="false">http://articles.itecsoftware.com/?p=286</guid>
		<description><![CDATA[<a href="http://www.itecsoftware.com/how-to-recover-lost-linux-root-password" title="How to recover a lost Linux root password"></a>Forgot your root password? Nice going. What now? Reinstall the machine from ground up? Sadly enough, I&#8217;ve seen this happening all too often while it&#8217;s surprisingly easy to change the password knowing the correct procedure. While this doesn&#8217;t work in &#8230;<p class="read-more"><a href="http://www.itecsoftware.com/how-to-recover-lost-linux-root-password">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.itecsoftware.com/how-to-recover-lost-linux-root-password" title="How to recover a lost Linux root password"></a><!-- google_ad_section_start --><p>Forgot your root password? Nice going. What now? Reinstall the machine from ground up? Sadly enough, I&#8217;ve seen this happening all too often while it&#8217;s surprisingly easy to change the password knowing the correct procedure. While this doesn&#8217;t work in all cases (like if you secured your machine with a GRUB password and forgot that as well), but here&#8217;s the procedure in case of a CentOS Linux machine.</p>
<p>Start off by rebooting your system. At the GRUB boot loader screen, move the highlighted entry with the arrow keys to interrupt the boot process. While the current boot entry is highlighted, press <strong>E</strong> and you can edit the kernel line.</p>
<div id="attachment_289" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-289" title="Grub boot loader screen" src="http://www.itecsoftware.com/wp-content/uploads/2009/10/grub-boot-loader-screen-300x223.jpg" alt="Grub boot loader screen" width="300" height="223" /><p class="wp-caption-text">Grub boot loader screen</p></div>
<p>Use the arrow key to highlight the line that starts with <code>kernel</code>, and press <strong>E</strong> to edit the kernel parameters. When you get to the screen below, append  the number <strong><code>1</code></strong> at the end of the line. This will enable you to boot into <em>single-user mode</em>.</p>
<div id="attachment_290" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-290" title="Edit GRUB boot loader entry" src="http://www.itecsoftware.com/wp-content/uploads/2009/10/edit-grub-boot-loader-kernel-entry-300x225.jpg" alt="Edit GRUB boot loader entry" width="300" height="225" /><p class="wp-caption-text">Edit GRUB boot loader entry</p></div>
<p>Next press <strong>Enter</strong>, then <strong>B</strong>, and the kernel will boot up into <em> single-user</em> mode. Once there you can run the  <code>passwd</code> command, changing the password for user root:</p>
<p><code> prod-093# passwd<br />
New UNIX password:<br />
Retype new UNIX password:<br />
passwd: all authentication tokens updated successfully </code></p>
<p>Next time you boot up, use your newly created password to login.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.itecsoftware.com/how-to-recover-lost-linux-root-password/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 3/11 queries in 0.003 seconds using memcached
Object Caching 394/407 objects using memcached

Served from: www.itecsoftware.com @ 2012-02-08 18:50:37 -->
