<?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 Re: Password Recovery in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675131#M1254</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Here are 3 methods :&lt;BR /&gt;&lt;BR /&gt;1. The easiest one : reboot your system in single-user mode, cancel the root password, and reboot normally to set another one.&lt;BR /&gt;&lt;BR /&gt;To boot single-user, at LILO prompt type "linux s".&lt;BR /&gt;&lt;BR /&gt;Some Linux distributions require root password to enter single-user. If it is your case, try the second method.&lt;BR /&gt;&lt;BR /&gt;2. The most difficult one : reboot your system with a recovery CD-Rom or disk, mount the root filesystem and cancel the password.&lt;BR /&gt;&lt;BR /&gt;It is not so difficult, but you need some Linux expertise. Just to summarize : boot on the Install CD just as if you wanted to re-install, go through the steps until keyboard and language selection, then type CTRL-ALT-F2 to open a shell.&lt;BR /&gt;Then :&lt;BR /&gt;&lt;BR /&gt;mkdir /new&lt;BR /&gt;mount /dev/your_root_partition /new&lt;BR /&gt;/new/usr/bin/vi /new/etc/passwd&lt;BR /&gt;&lt;BR /&gt;Clear the password field.&lt;BR /&gt;&lt;BR /&gt;Then, umount the root partition :&lt;BR /&gt;&lt;BR /&gt;umount /new&lt;BR /&gt;&lt;BR /&gt;To reboot : remove the install CD-Rom and/or floppy, then CTRL-ALT-DEL.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After reboot, don't forget to set a new root password.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 02 Mar 2002 20:31:44 GMT</pubDate>
    <dc:creator>Kodjo Agbenu</dc:creator>
    <dc:date>2002-03-02T20:31:44Z</dc:date>
    <item>
      <title>Password Recovery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675130#M1253</link>
      <description>This is my first experience with Linux and I just started this job as IT / Systems Manager. I discovered that I have an external ( register )DNS server on a Linux REDHAT 7.0 platform.  Unfortunately the previous systems manager didn't have any documentation. I need to know how to recover the root password  without re-installing ? Does anybody have a suggestion....Thanks in advance....</description>
      <pubDate>Sat, 02 Mar 2002 16:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675130#M1253</guid>
      <dc:creator>JR Garcia</dc:creator>
      <dc:date>2002-03-02T16:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Password Recovery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675131#M1254</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Here are 3 methods :&lt;BR /&gt;&lt;BR /&gt;1. The easiest one : reboot your system in single-user mode, cancel the root password, and reboot normally to set another one.&lt;BR /&gt;&lt;BR /&gt;To boot single-user, at LILO prompt type "linux s".&lt;BR /&gt;&lt;BR /&gt;Some Linux distributions require root password to enter single-user. If it is your case, try the second method.&lt;BR /&gt;&lt;BR /&gt;2. The most difficult one : reboot your system with a recovery CD-Rom or disk, mount the root filesystem and cancel the password.&lt;BR /&gt;&lt;BR /&gt;It is not so difficult, but you need some Linux expertise. Just to summarize : boot on the Install CD just as if you wanted to re-install, go through the steps until keyboard and language selection, then type CTRL-ALT-F2 to open a shell.&lt;BR /&gt;Then :&lt;BR /&gt;&lt;BR /&gt;mkdir /new&lt;BR /&gt;mount /dev/your_root_partition /new&lt;BR /&gt;/new/usr/bin/vi /new/etc/passwd&lt;BR /&gt;&lt;BR /&gt;Clear the password field.&lt;BR /&gt;&lt;BR /&gt;Then, umount the root partition :&lt;BR /&gt;&lt;BR /&gt;umount /new&lt;BR /&gt;&lt;BR /&gt;To reboot : remove the install CD-Rom and/or floppy, then CTRL-ALT-DEL.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After reboot, don't forget to set a new root password.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Mar 2002 20:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675131#M1254</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-03-02T20:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Password Recovery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675132#M1255</link>
      <description>Single user mode is the best way.&lt;BR /&gt;&lt;BR /&gt;If you have a rescue floppy this is no problem.&lt;BR /&gt;&lt;BR /&gt;You cannot recover the password but can change it.&lt;BR /&gt;&lt;BR /&gt;You'll get a login without a prompt.&lt;BR /&gt;&lt;BR /&gt;As a security note, password protect your bios (and don't forget it) and lock your box so you can't jumpt the BIOS paasword (and don't lose the key)&lt;BR /&gt;&lt;BR /&gt;;)&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Mon, 04 Mar 2002 17:53:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675132#M1255</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-03-04T17:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Password Recovery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675133#M1256</link>
      <description>The easiest way is to boot into single user mode by feeding lilo "linux single".  Once you're in single user mode, simply change the password just as you would any other time (assuming your root password is local... and it should be!)&lt;BR /&gt;&lt;BR /&gt;If there is a lilo boot password set, you'll have to go around lilo.  I recommend booting to the installation CD and typing "linux rescue" at the prompt.  This will boot your system into a command-line recovery shell.  It should also mount your old filesystem.  The output that is given during boot should be enough to get you on your way.&lt;BR /&gt;&lt;BR /&gt;If there is a BIOS password set, look up the motherboard specs online, crack open the case, and short the cmos reset pins to wipe out the old password.  &lt;BR /&gt;&lt;BR /&gt;Hope this helps.  :-)</description>
      <pubDate>Tue, 12 Mar 2002 04:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-recovery/m-p/2675133#M1256</guid>
      <dc:creator>Christopher C. Weis</dc:creator>
      <dc:date>2002-03-12T04:17:24Z</dc:date>
    </item>
  </channel>
</rss>

