Follow these steps to rest the password when using GRUB:
Reboot the system, and when you are at the prompt where you can select which operating system(See Fig. 2 below), highlight the line for linux and press 'e'. You may only have 2 seconds to do this, so be quick
This will take you to another screen where you should select the entry that begins with 'kernel' and press 'e' again.
Append 'single' to the end of that line (without the quotes). Make sure that there is a space between what's there and 'single'. If your system requires you to enter your root password to login into the single user mode append init=/bin/bash after single. Hit Enter to save the changes
Press 'b' to boot into Single User Mode.
Once the system finishes booting up you will be logged in as root. Use passwd and choose a new password for root.
Type reboot to reboot the system and then you can login with the new password you just selected.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment