<?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 Retrieval in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028262#M75982</link>
    <description>Adding to Steven's tip :&lt;BR /&gt;&lt;BR /&gt;If your boot loader is grub, then, on seing grub screen with your systems listed, highlight the one you boot (if you have only one system, then you see only one line !), then press 'e' to edit it. You see several lines with one being the longest, referencing the kernel you boot. At the end of this line, insert ' single' (notice 'space single'), then enter to validate, then 'b' to boot with this option. You'll boot to a shell. Enter 'passwd root'(enter), then enter twice the new root password. Reboot. You are done.&lt;BR /&gt;&lt;BR /&gt;If your boot loader is lilo, then on lilo screen, depending on your distro, pressing 'escape', or 'Ctrl C' or 's' or 'Ctrl X' bring you to a dark screen... where you see 'boot :' type 'linux single' (enter), you boot to a shell. Then same 'passwd root' procedure as above.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
    <pubDate>Mon, 21 Jul 2003 05:56:14 GMT</pubDate>
    <dc:creator>Jerome Henry</dc:creator>
    <dc:date>2003-07-21T05:56:14Z</dc:date>
    <item>
      <title>Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028257#M75977</link>
      <description>How do I retrieve a lost password in Redhat 8.0. My Linux system in now stable with routing/proxy and mail and I do not want to re-install my system just because I was clumpsy not to jot down the password of the server.&lt;BR /&gt;&lt;BR /&gt;Is there a way I can retrieve my root password?</description>
      <pubDate>Mon, 21 Jul 2003 01:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028257#M75977</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-07-21T01:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028258#M75978</link>
      <description>Okay, you are in deep trouble.&lt;BR /&gt;&lt;BR /&gt;On an HP-UX system with a console, you can boot into single user mode, sometimes with the power switch, and null out the password entry in the shadowed password file.&lt;BR /&gt;&lt;BR /&gt;Here is how to do it in Linux.&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;This is Red Hat 7.  They might have made things tighter.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 21 Jul 2003 02:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028258#M75978</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-21T02:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028259#M75979</link>
      <description>I was rude.&lt;BR /&gt;&lt;BR /&gt;I should have given the thread I stole that from.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcfebff77de2bd611abd50090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcfebff77de2bd611abd50090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I consider this a solution.  Just tested it.  Seems to work Red Hat 9.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 21 Jul 2003 02:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028259#M75979</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-21T02:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028260#M75980</link>
      <description>How do I boot in single user mode? I think I just created a rule in my firewall that stops logging in in single user mode ... but anyway I will try it.</description>
      <pubDate>Mon, 21 Jul 2003 02:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028260#M75980</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-07-21T02:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028261#M75981</link>
      <description>Interupt the boot of the Linux server at its keyboard&lt;BR /&gt;&lt;BR /&gt;That is usually with a keystroke.&lt;BR /&gt;&lt;BR /&gt;linux s&lt;BR /&gt;&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;&lt;BR /&gt;If you can't be on site, you need to get an operator on the keyboard of the server.&lt;BR /&gt;&lt;BR /&gt;I hope this provides you with a solution.&lt;BR /&gt;&lt;BR /&gt;I'll check on the thread in the morning.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;</description>
      <pubDate>Mon, 21 Jul 2003 03:48:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028261#M75981</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-21T03:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028262#M75982</link>
      <description>Adding to Steven's tip :&lt;BR /&gt;&lt;BR /&gt;If your boot loader is grub, then, on seing grub screen with your systems listed, highlight the one you boot (if you have only one system, then you see only one line !), then press 'e' to edit it. You see several lines with one being the longest, referencing the kernel you boot. At the end of this line, insert ' single' (notice 'space single'), then enter to validate, then 'b' to boot with this option. You'll boot to a shell. Enter 'passwd root'(enter), then enter twice the new root password. Reboot. You are done.&lt;BR /&gt;&lt;BR /&gt;If your boot loader is lilo, then on lilo screen, depending on your distro, pressing 'escape', or 'Ctrl C' or 's' or 'Ctrl X' bring you to a dark screen... where you see 'boot :' type 'linux single' (enter), you boot to a shell. Then same 'passwd root' procedure as above.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 21 Jul 2003 05:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028262#M75982</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-07-21T05:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028263#M75983</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;If you forgot the password you just only&lt;BR /&gt;can to change it to new one (if you want to&lt;BR /&gt;know the old it can take a lot of time if you will use program like "john the ripper" that brutforce the passwords)&lt;BR /&gt;&lt;BR /&gt;So you need to enter single mode:&lt;BR /&gt;lilo -&amp;gt; lilo single&lt;BR /&gt;grub -&amp;gt; press "e" to edit the boot line&lt;BR /&gt;then "e" for edit the line of kernel boot,&lt;BR /&gt;add in the end of line "single" press enter and&lt;BR /&gt;"b" for boot&lt;BR /&gt;&lt;BR /&gt;You will enter the single mode then change the&lt;BR /&gt;password.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 21 Jul 2003 06:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028263#M75983</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-21T06:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028264#M75984</link>
      <description>Thanks for the response. Before I left this server I configured the firewall and I made sure that no one can boot at single mode.&lt;BR /&gt;&lt;BR /&gt;I tried booting at single mode but it still looks for a password. I haven't re-installed yet but I am thinking of removing the disk and puting it in another linux box ... mount it and edit the password file. Will this work?</description>
      <pubDate>Mon, 21 Jul 2003 06:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028264#M75984</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-07-21T06:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028265#M75985</link>
      <description>yes, it will work (don't forget about /etc/shadow)&lt;BR /&gt;&lt;BR /&gt;but you can do the same  thing using rescue mode from RH installation CD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vitaly</description>
      <pubDate>Mon, 21 Jul 2003 07:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028265#M75985</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-07-21T07:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028266#M75986</link>
      <description>I was able to change it ... thanks guys ... I placed the disk in my other server ... it took me 10 min. to accomplish the task.&lt;BR /&gt;&lt;BR /&gt;I was a bit hesitant to do a restore thinking that some of my system files that I have updated through my upgrades might be overwritten.&lt;BR /&gt;&lt;BR /&gt;I will try to experiment with one of my none production servers.  Thanks again.</description>
      <pubDate>Mon, 21 Jul 2003 09:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028266#M75986</guid>
      <dc:creator>Francis Ancheta</dc:creator>
      <dc:date>2003-07-21T09:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Password Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028267#M75987</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;For the feature you could boot from the rescue&lt;BR /&gt;disk (or the install disk to rescue mode)&lt;BR /&gt;Mount the disk and then edit the /etc/passwd&lt;BR /&gt;Or to made chroot to the mount point and use&lt;BR /&gt;the passwd command&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 21 Jul 2003 19:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/password-retrieval/m-p/3028267#M75987</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-21T19:22:07Z</dc:date>
    </item>
  </channel>
</rss>

