Monday, August 15, 2016

Recovering root password


Reset forgot root user password in Redhat Enterprise Linux 5. 


Resetting password in RHEL5 is very easy, follow the below steps to reset. 

reboot your Linux server when it is starting the kernel line press any key to stop the kernel line




press 'a' to edit the kernel line



when you see the above screen line type a 1 then hit ENTER key



now see the above screenshot is booted into the runlevel 1 (Single User Mode) 

reset the root password using below command
~]#password

Then reboot your machine.. Login with newly changed password.

No comments:

Post a Comment