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:
In linux case is sensitive about username and password, If you have upper case than you need to enter same letters.
- ls /home
Now Enter following command to reset your password:
For example (See the picture above):
- passwd username
Now enter your new password and confirm it.
- passwd noobslab
Reboot pc with this command:
That's it, Enjoy.
- exit




2/21/2012


Posted in: 
