rss
twitter
    Find out what I'm doing, Follow Me :)

How to recover root password in RHEL 6 ?

How to recover root password in RHEL 6 ?

Boot the system and log in into grub.









Press ‘e’ on the selected entry.

Then select the ‘kernel /vmlinux’ entry and press ‘e’ on it.



Insert the ‘single’ keyword after rhgb quiet.


Press enter

Then press b after selecting the ‘kernel /vmlinux’ entry.

Then on the root prompt issue the following command.
passwd  –d  redhat







this will set the password to blank.

Now boot the system as usual and reset the password by logging into the root account.

courtesy : practical-tech.blogspot.in 

0 comments:

Post a Comment