<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; runlevel</title> <atom:link href="http://www.ghacks.net/tag/runlevel/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>How To Reset the Root Password in Linux</title><link>http://www.ghacks.net/2009/02/25/how-to-reset-the-root-password-in-linux/</link> <comments>http://www.ghacks.net/2009/02/25/how-to-reset-the-root-password-in-linux/#comments</comments> <pubDate>Wed, 25 Feb 2009 17:28:15 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[password recovery]]></category> <category><![CDATA[root password]]></category> <category><![CDATA[runlevel]]></category> <category><![CDATA[single user mode]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=10764</guid> <description><![CDATA[I administer a LOT of Linux systems. Most of those systems information are in a file I keep that tells me what their passwords are. I normally either do not forget a root password or do not lose the paperwork for a Linux system. But I have been in situations where a new client had [...]]]></description> <content:encoded><![CDATA[<p>I administer a LOT of Linux systems. Most of those systems information are in a file I keep that tells me what their passwords are. I normally either do not forget a root password or do not lose the paperwork for a Linux system. But I have been in situations where a new client had no idea what their Linux root password was. In those instances I had to change the root password. Problem is, if you don&#8217;t know the root password, how are you going to change it? You need to know a method of password recovery for the Linux operating system.</p><p>There is a way to do this. It will work with most systems that use a root password. Of course if we&#8217;re talking about a lost boot password, you&#8217;re out of luck&#8230;this won&#8217;t help you recover that. What this method does is reboot your machine into what is called &#8220;single user mode&#8221;. Single user mode is also referred to as maintenance mode and is runlevel 1.</p><p><span
id="more-10764"></span><strong>Reboot the Machine</strong></p><p>The first thing you need to do is reboot the machine in question. The next step will vary, depending upon your distribution. What you need to do is to get to the screen that allows you to select which kernel to boot. Some systems (such as Fedora 10) require you to hit the escape key before the kernel boots. Some systems require a Ctrl-x key combination. Some systems require you to hit the &#8220;e&#8221; key. With Fedora 10 the sequence is this: After your bios posts you will hit the escape key to open up the Grub boot menu. In that menu select the kernel you are going to boot and hit the &#8220;a&#8221; key (for &#8220;append&#8221;). What you will see is the kernel boot command for your machine. What you need to do is append <em>single</em> to the end of that command (make sure there is a space before <em>single</em>) and hit the enter key.</p><p>Your machine will now start the single user boot process. You will see some processes list as &#8220;fail&#8221;. Do not worry about this. Eventually you will find yourself at a <strong>root </strong>prompt. At this point all you need to do is enter the command <em>passwd</em> and then type the new password for the root user when prompted.</p><p>Once you have entered the new root password reboot the machine by issuing the <em>reboot</em> command. When the machine reboots you will have recovered the root password. Congratulations!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/02/25/how-to-reset-the-root-password-in-linux/feed/</wfw:commentRss> <slash:comments>16</slash:comments> </item> </channel> </rss>
