LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   root password recovery... (https://www.linuxquestions.org/questions/linux-software-2/root-password-recovery-58397/)

roofy 05-06-2003 11:40 AM

root password recovery...
 
great...i typed the password wrong TWICE on the rh 7.2 install but the user i added during setup works...how can i recover it?

wapcaplet 05-06-2003 11:44 AM

You should be able to boot into single-user mode and enter a new root password.

roofy 05-06-2003 11:49 AM

it says only root can specify a user when i try to passwd root

trickykid 05-06-2003 01:01 PM

Quote:

Originally posted by roofy
it says only root can specify a user when i try to passwd root
Did you boot into single user mode? And were you prompted with a login or not when or if you booted to a single user mode?

roofy 05-06-2003 01:34 PM

how do you boot into single user mode?

Nukes 05-06-2003 01:34 PM

Type Linux 1 at the lilo prompt or append whatever you need to to laod runlevel 1. instead ofgoing multiuser, it should just run bash.

roofy 05-06-2003 01:41 PM

hmm i see thanks :D

Nukes 05-06-2003 02:37 PM

Let us know if it works. For future reference you can also dump out to level 1 if you type init 1 at the console, but you need to be root to do that, so it won't help atm.


All times are GMT -5. The time now is 12:29 AM.