<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic forgot root password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970145#M4623</link>
    <description>If forgot root password ,  how to get back the password ? thx.</description>
    <pubDate>Sat, 10 May 2003 23:45:38 GMT</pubDate>
    <dc:creator>juno3</dc:creator>
    <dc:date>2003-05-10T23:45:38Z</dc:date>
    <item>
      <title>forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970145#M4623</link>
      <description>If forgot root password ,  how to get back the password ? thx.</description>
      <pubDate>Sat, 10 May 2003 23:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970145#M4623</guid>
      <dc:creator>juno3</dc:creator>
      <dc:date>2003-05-10T23:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970146#M4624</link>
      <description>You have to boot into initlevel 1.  This will load the system as root, but not load PAM, and thus allow you to change the root password.</description>
      <pubDate>Sun, 11 May 2003 01:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970146#M4624</guid>
      <dc:creator>Andy Kruta</dc:creator>
      <dc:date>2003-05-11T01:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970147#M4625</link>
      <description>reboot your machine.  Any user empowered to shutdown can do it.  If nobody other than root can do so, use the power switch. Shut down any and all applications first.&lt;BR /&gt;&lt;BR /&gt;At restart, interupt at the 10 second prompt&lt;BR /&gt;&lt;BR /&gt;type bo &lt;ENTER&gt;&lt;BR /&gt;Y to interact with the ipl&lt;BR /&gt;&lt;BR /&gt;hpux -is &lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;After the system boots, passwd &lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;You will be prompted twice.&lt;BR /&gt;&lt;BR /&gt;If you have password protected single user mode then your only other viable option is to let crack run on your passwd file for a few days and hope it guesses it.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Sun, 11 May 2003 01:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970147#M4625</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-11T01:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970148#M4626</link>
      <description>Disregard my post. I thought I was in HP-UX.&lt;BR /&gt;&lt;BR /&gt;You can run crack on /etc/passwd that will eventually guess the password.  Run it on a copy of the passwd file, not the original.&lt;BR /&gt;&lt;BR /&gt;Beware that crack will use a ton of system resources.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 11 May 2003 01:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970148#M4626</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-11T01:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970149#M4627</link>
      <description>hi Andy ,&lt;BR /&gt;&lt;BR /&gt;I use RH 9 , how to boot to level 1 ? thx.</description>
      <pubDate>Sun, 11 May 2003 02:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970149#M4627</guid>
      <dc:creator>juno3</dc:creator>
      <dc:date>2003-05-11T02:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970150#M4628</link>
      <description>for GRUB boot-loader:&lt;BR /&gt;&lt;BR /&gt;- press "e" when you see boot menu&lt;BR /&gt;&lt;BR /&gt;- go to line with your kernel and press "e" again&lt;BR /&gt;&lt;BR /&gt;- add 1 in the end of the line&lt;BR /&gt;&lt;BR /&gt;- press "b" for boot&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vitaly</description>
      <pubDate>Sun, 11 May 2003 07:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970150#M4628</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-05-11T07:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970151#M4629</link>
      <description>Thx VK, after I boot to the system  , how can I know what run level it is ? thx.</description>
      <pubDate>Sun, 11 May 2003 07:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970151#M4629</guid>
      <dc:creator>juno3</dc:creator>
      <dc:date>2003-05-11T07:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970152#M4630</link>
      <description>you can check it by &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;runlevel &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;commmand.&lt;BR /&gt;&lt;BR /&gt;And if you have command prompt now, you can use &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;passwd &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;command in order to set new root password</description>
      <pubDate>Sun, 11 May 2003 08:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970152#M4630</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-05-11T08:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970153#M4631</link>
      <description>Hi&lt;BR /&gt;you can try this utility from this web site, assuming you have access to /etc/passwd&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openwall.com/john/" target="_blank"&gt;http://www.openwall.com/john/&lt;/A&gt;</description>
      <pubDate>Mon, 12 May 2003 08:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970153#M4631</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2003-05-12T08:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970154#M4632</link>
      <description>why not booting Linux from CD or disk (e.g. Installation disk) and mounting the root filesystem from harddisk to /mnt, edit the /etc/passwd and reboot the system.&lt;BR /&gt;&lt;BR /&gt;Voila, most of the linux distributions offers an emergency mode on the installation cd/disk.&lt;BR /&gt;And with such a disk it is fairly easy....</description>
      <pubDate>Mon, 12 May 2003 11:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970154#M4632</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-05-12T11:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970155#M4633</link>
      <description>Use &lt;BR /&gt;&lt;BR /&gt;   who -r&lt;BR /&gt;&lt;BR /&gt;to get the current runlevel.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2003 11:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970155#M4633</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-05-12T11:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970156#M4634</link>
      <description>1. Reboot the machine, i.e. do &lt;ALT&gt;&lt;CTL&gt;&lt;F1&gt; followed by &lt;ALT&gt;&lt;CTL&gt;&lt;DEL&gt;&lt;BR /&gt;&lt;BR /&gt;2. As it reboots watch for a message indicating which device is being used as the root device.  On a machine I recently did this for it was /dev/hda6&lt;BR /&gt;&lt;BR /&gt;3. Reboot the machine again using an installation disk, either floppy or CD.  I use Debian, but the procedure should be similar for other distributions.&lt;BR /&gt;&lt;BR /&gt;4. Proceed only through language selection and configuring the keyboard.&lt;BR /&gt;&lt;BR /&gt;5. Press &lt;ALT&gt;&lt;CTL&gt;&lt;F2&gt; and activate a shell.  Look for a message indicating what editor is available.&lt;BR /&gt;&lt;BR /&gt;6. Mount the root device somewhere, i.e.&lt;BR /&gt;mount /dev/hda6 /mnt&lt;BR /&gt;&lt;BR /&gt;7. cd /mnt/etc&lt;BR /&gt;&lt;BR /&gt;8. Edit the file "shadow" (or passwd if not using shadow passwords).  Remove the second field from the root line so it starts with "root" followed by two adjacent colons. Leave the rest of the line unchanged. Save the edited file.&lt;BR /&gt;&lt;BR /&gt;9. Remove the installation disk and reboot again.  Now root won't need a password.&lt;BR /&gt;&lt;BR /&gt;10. Immediately log in as root and run the passwd command to give root a new password.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/F2&gt;&lt;/CTL&gt;&lt;/ALT&gt;&lt;/DEL&gt;&lt;/CTL&gt;&lt;/ALT&gt;&lt;/F1&gt;&lt;/CTL&gt;&lt;/ALT&gt;</description>
      <pubDate>Mon, 12 May 2003 11:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970156#M4634</guid>
      <dc:creator>Michael Creutz</dc:creator>
      <dc:date>2003-05-12T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: forgot root password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970157#M4635</link>
      <description>ok that's the conclusion of my posting in detail ;-)&lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2003 12:03:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/forgot-root-password/m-p/2970157#M4635</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-05-12T12:03:31Z</dc:date>
    </item>
  </channel>
</rss>

