If you have forgotten your Linux Password, many peoples face this problem you are not alone.
Note : Protect your Grub Entries with Username and Password.
So, first step to is Boot in to Recovery Mode.
After some processing. Now select "root - Drop to root shell prompt" and press ok.
If you forgot your username enter this command to know # ls /home
In Linux case is sensitive about username and password. If you Have upper case then you need to enter same letters.
Now enter following command to reset your password. # passwd [ username ]
For Ex. # passwd wish
Now enter your new password and confirm it. Reboot PC with this command. # reboot -h now
No comments:
Post a Comment