<?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://articles.itecsoftware.com/tag/single-user-mode/feed" rel="self" type="application/rss+xml" />
	<link>http://articles.itecsoftware.com</link>
	<description>Itec Software</description>
	<lastBuildDate>Mon, 06 Sep 2010 18:29:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to recover a lost Linux root password</title>
		<link>http://articles.itecsoftware.com/linux/how-to-recover-lost-linux-root-password</link>
		<comments>http://articles.itecsoftware.com/linux/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[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 [...]]]></description>
			<content:encoded><![CDATA[<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://articles.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://articles.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>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://articles.itecsoftware.com/linux/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/

Minified using disk
Page Caching using disk (enhanced)

Served from: articles.itecsoftware.com @ 2010-09-07 21:30:30 -->