LinuxQuestions.org
Review your favorite Linux distribution.
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 07-20-2011, 11:49 PM   #1
pratyush19
LQ Newbie
 
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
password recovery


i have forget the root password of Red Hat Enterprise Linux 5. Please tell me how to recover it from the other linux account of the same version.
Thanks

thanks sandeep
i also want to know that after setting the new password did i have to repair the grub or grub will be as usual...
thanks

Last edited by pratyush19; 07-21-2011 at 01:30 AM.
 
Old 07-21-2011, 01:06 AM   #2
sandeep.sp
LQ Newbie
 
Registered: Jul 2011
Posts: 13

Rep: Reputation: Disabled
You can reset the root password by rebooting into run level 1


1. Restart your server.
2. When the GRUB prompt appears press 'e' on the selected Red Hat installation.
3. Select the linux image you would like to boot and type 'e' (don't select initrd image)
4. Type rhgb quuite 1

It will boot your server in single user mode with root prompt.

You can reset password here using passwd command.

Cheers!!
 
1 members found this post helpful.
  


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
password recovery binary_dreamer Ubuntu 2 10-13-2008 02:03 AM
Password Recovery in Edubuntu 7.04 - In Terminal, Root Login : su , password : ????? farhannaeem13 Linux - Security 3 11-30-2007 10:59 AM
Password Recovery carlosinfl Ubuntu 3 02-20-2007 08:23 PM
Password Recovery rockfort Linux - Security 11 02-02-2005 07:12 AM
Password recovery mikeshn Linux - Security 1 09-08-2002 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 PM.

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