How to recover lost password in Ubuntu???

Posted by Anonymous  |  at  23:15 No comments

ubuntu logo

Ubuntu, which is more secure and flexible way to work with but what if you lose your account password which is used to login to your user account. So why do you lose your password!! well there are many reasons like you may forget what password you selected during the ubuntu installation process or you may forgot your password because there are too many passwords to remember and etc.., Well if this is your problem too then this post will help you.
To recover your lost ubuntu password follow these simple steps.
  • Just reboot your system and enter boot menu. 
  • If your are good ubuntu user and had a single boot i.e ubuntu is the only OS on your computer them press and hold Shift key while booting, thus you can see some boot options. 
  • If you are dual boot i.e you use windows/mac/other Linux distribution along with ubuntu then you can automatically see some boot options without the need to hold shift key. 
  • From boot options select recovery mode.  
  • After selecting the recovery mode wait until the boot finishes. Once the process finishes you have to select Drop to root shell prompt in the list in order to reset your password.  
  • Once you're in, the things are very easy, just type
 ls /home 
Note: Here in "ls" l = lowercase of L but not "i" 
  • This gives the list of user accounts, Now type this command and press enter.  
passwd username
  • Here replace username with the username you want to reset.
  • Now you will be prompted for a new password, just give your new password(you will not see your password while you type) and press enter, you will be prompted to retype so retype the password again. 
  •  Now simply type exit and press enter to come back to recovery menu. That's it your done with resetting your password. 
  • At recovery menu, select resume normal boot, and now you can login to your ubuntu because you know the password.

Tagged as:

About the Author

Khawaja Ali is the author of this blog he is 18 year old white hat hacker, web-designer and a young programmer currently living in Khushab and studing in Punjab College Jauharabad.He love to help others thats why running this blog.Thanks for visiting here.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

Related posts

0 comments:

Template Powered By Blogger.| Distributed by Blogger Skiller