Root: -root is the super user in Linux operating system During normal usage, a Linux OS runs under runlevels between 2 and 5 which corresponds to various multi-user modes. Booting Linux under runlevel 1 will allow one to enter into a specific mode, single user mode. Under such a level, you directly get a root prompt. From there, changing root password is a piece of cake .Following are the steps for recover root password on single user mode .
for more details watch this video .
- reboot the computer and press esc.
- choose os and press e to edit .
- choose kernal/vmlinux-........EL ro root=LABEL=/ rhgb line and add 1 to go to single user mode
- press b to boot in single user mode .
- then use passwd command as in below to change root password
- reboot computer and login with new password .
for more details watch this video .
No comments:
Post a Comment