Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I reset a lost administrative password?

I forgot my password to access my ubuntu 12.04. How can I reset it!??

Please help!

share|improve this question

marked as duplicate by Javier Rivera, Luis Alvarado, Rinzwind, gertvdijk, fabricator4 Jan 2 '13 at 19:24

This question was marked as an exact duplicate of an existing question.… – Dan Jan 2 '13 at 18:44
Reboot your computer.
Press SHIFT at the grub prompt.
Select your image.
Highlight the line that begins kernel and press e to edit

Go to the very end of the line, change the ro to rw and add init=/bin/bash, press enter, then press b to boot your system. Your system will boot up to a passwordless root shell.

Type in passwd <username>
Set your password.
Type in reboot
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.