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

I recently turned off the login password so i would not have to enter my password every time I turn the system on. But now when I try to update or download anything it asks me for my password so I enter my old password and it keeps telling me its wrong when I have only ever had the 1 password and its a simple 1 so I would not forget and considering I have only had UBUNTU installed for two days it is really frustrating. I have also tried resetting it via the GRUB but it wont let me type the new password. Please help ASAP.

share|improve this question

When using recovery mode from grub, you need to drop to a root shell, then remount the drive with write permissions using this command

mount -o rw,remount /

Then you can change the password for your account using the following command (replace username with your username).

passwd username

Then enter the new password twice, you will not see what you are typing.

Then reboot and login using the new password.

Have a look at this page on my website for a more detailed guide if needed.

share|improve this answer

You can boot from a live cd and then reset the password from there. Here's a guide on how to do just that:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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