LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   forgot my password (https://www.linuxquestions.org/questions/linux-newbie-8/forgot-my-password-269058/)

navaladi 12-22-2004 12:59 AM

forgot my password
 
hello i am new to linux...i seting password to root now i am forgot.i can't enter to root.what should i do...please help me....

heema 12-22-2004 02:13 AM

To recover lost root password using GRUB boot loader:

1. Boot the affected system to the GRUB loader
2. Select your operating system and type E for edit
3. Select kernel and type E for edit
4. Select boot and add runlevel 1 to the end of the line
5. Press Enter and hit B for boot
6. At the sh prompt, use passwd to change the password
7. Reboot the PC

To recover lost root password using LILO boot loader:

1. Boot the machine to the LILO prompt
2. Type linux 1 or linux single to enter single user mode
3. At the prompt, use passwd to change the password
4. Reboot


http://madpenguin.org/cms/?m=show&id=6

amfoster 12-22-2004 08:47 AM

or .... go to http://www.toms.net/rb/ and create the boot disk offered there. You can use that on any x86 based machine as an emergency boot disk. Mount the real / filesystem and change the password


All times are GMT -5. The time now is 04:43 AM.