LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   i forget my root password. how to login in root account with new password in red hat. (https://www.linuxquestions.org/questions/linux-desktop-74/i-forget-my-root-password-how-to-login-in-root-account-with-new-password-in-red-hat-4175423200/)

balajiraja 08-21-2012 06:09 AM

i forget my root password. how to login in root account with new password in red hat.
 
Hi,
Could you Help me for the following issue happened.

acid_kewpie 08-21-2012 06:16 AM

plenty of docs out there... https://www.google.co.uk/search?q=re...password+reset

but in brief, at the grub screen hit e, add a "1" to the kernel options line. Hit esc and then b to boot. when logged in run "passwd" and give a new password

Rory Glenn Pascua 08-21-2012 08:52 AM

Single User Mode
 
Quote:

Originally Posted by balajiraja (Post 4759970)
Hi,
Could you Help me for the following issue happened.

Answer = boot into single user mode.

When you reboot your machine and you see the Red Hat splash screen, hit the esc key. Then select the kernel option at the grub menu and hit "e" for edit. Then hit the space bar once, and then type "single" or "1" and then the enter key. Hit "b" to boot into that option you just edited and the machine will boot into the root user and all you have to do is type "passwd" and you'll be changing the root password. Hopefully your system is not setup to password protect single user mode. Goodluck.

rupeshm62 08-22-2012 01:41 AM

helpful!!!!


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