LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2003, 10:08 AM   #1
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
Unhappy lost root password


How do I recover root password for Red Hat? I lost it. Help.
 
Old 06-13-2003, 10:23 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Reboot. At the LILO prompt type the name of your kernel to load, followed by "init=/bin/sh" on the same line, w/o quotes.
This get's you in at runlevel 1, type "passwd" and enter a new root passwd.

*If you got GRUB, search LQ for the appropriate GRUB line.
**YES, it is a std feature of Linux if you didn't passwd the bootloader, so no posting "I found a security leak". :-]
 
Old 06-13-2003, 10:34 AM   #3
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
Sorry I'm new to Linux. How do I get to LiLo prompt?

Got it!! I'll test it now.

Last edited by dvong3; 06-13-2003 at 10:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Root password Oakstaff Linux - Newbie 6 11-29-2006 05:03 AM
Lost root password zillah Solaris / OpenSolaris 10 05-24-2005 06:28 PM
Lost root password amirdhagopal SUSE / openSUSE 13 02-10-2005 01:09 AM
lost root password papitu76 Mandriva 12 10-31-2004 11:40 AM
Lost root Password us06154 Linux - Newbie 17 08-14-2003 05:08 PM


All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration