Reset forgotten password in linux
If you have forgotten your Linux password, Many people face this problem you are not alone. It is probably one of the most common tech support problems. Luckily if you are using Ubuntu/any Linux they made it incredibly easy to reset your password.
So First Step is Boot in to Recovery Mode:
After some processing, You will see the following screen. 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 than you need to enter same letters.
Now Enter following command to reset your password:
mount -rw -o remount /
- passwd username
For example (See the picture above):
- passwd noobslab
Now enter your new password and confirm it.
Reboot pc with this command:
- exit
That’s it, Enjoy.
Posted on August 5, 2012, in linux and tagged grub, linux, reset password, ubuntu. Bookmark the permalink. Leave a comment.
Leave a comment
Comments 0