Fedora core Linux
Forgotten root password
- Reboot your computer.
- Press key ‘A’ on the keyboard.
- When you see the following
grub append> ro root=LABEL=/ rhgb
Give space and press key ‘1’ and hit enter key.
- When you see
sh-2-05b#
Prompt type passwd root and hit enter key.It’ll ask for the new password. Enter the password according to your convenience to remember this.
5. You’ll be asked to re-type the password for verification. Once you’re finished, the password will be changed and you can reboot by typing shutdown –r now at the prompt; then you can log in to root as before.
No comments:
Post a Comment