Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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: http://askubuntu.com/a/24024/65957

I hope this helps!

share|improve this answer

Your Answer

 
discard

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.