Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passwords

Status
Not open for further replies.

legio

Technical User
May 8, 2002
3
IE
howdy all,
installed red-hat 7.2 last night. everything ok--or so it seemed. root password is no longer accepted. yep, i'm sure I have the right one.Help...
 
reboot;
At lilo prompt
linux -s or init=/bin/bash
 
Hi,

If you have GRUB installed (default boot loader with 7.2) you select the normal 'linux' line on the menu screen and then press 'e' twice to go into edit mode. Just type (append) the word 'single' at the end of the command line, press 'enter', then press 'b' to do the actual boot in single user mode. You should end up with a root prompt (#) without signing in. To change the root password just do :

# passwd

and follow the prompt..

Then reboot with :

# /sbin/shutdown -r now
or
# init 6

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top