Pages

Search This Blog

Total Pageviews

Wednesday 13 August 2014

How to recover root password in RHEL 6 ?



STEP 1 :





Boot the system and log i n into grub.


STEP 2 :





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



STEP 3:





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