Root user password reset – RHEL5

Root user password reset – RHEL5

root user password reset

Step1: Switch on your Server
Step2: When kernel is booting press space bar key to stop the kernel line. then press ‘a’
Step3: Edit the kernel line and add ‘a 1’ then hit enter. Server will boot into single user mode.
Step4: After booting the server into single user mode then enter command ‘passwd’ Enter your new password
Step5: reboot your server and login as a root using new password