Friday, November 23, 2012

How to recover lost password in Ubuntu???



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.
                     password 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.
 Thanks for visiting my blog plz comment if you like my post.......
Share it.......

Filled Under:

0 comments:

Post a Comment