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 removed my user password and now when i want to install any software or do something major, it wants a password. I thought that removing password would also remove sudo password. Now i need your help to remove all passwords or recover my last password. My best regards.

share|improve this question

How exactly did you remove the password, did you edit the /etc/shadow file? Is it making you enter a password, or can you just hit enter without putting any pass into the box?

What you could do is set a new password and then edit the /etc/shadow file to have a blank space for the password. All you need to do on the password prompts would be to hit enter.

This post is quite helpful to change the password:

I hope this helps!

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.