Wednesday, April 4, 2012

How to reset forgotten password in Ubuntu

If you forget your password in Ubuntu, you can simply set a new one:
  • Reboot into recovery mode
  • In the recovery menu choose "boot"
  • Type "passwd <YOUR_LOGIN>"
  • Type the new password (it will look like you were not typing) and press enter
  • Retype (the same as above) and press enter
  • Type "exit" and press enter: you'll go back to the recovery menu
  • Select "resume normal boot"
  • If the system restarts in console mode type "startx" after having logged in.
That's all, simple and fast! ;)