I removed my password from the user menu where they gave the option for no password. So i pressed that and now the computer can be logged into but they ask a password which is not my old password....What should i do? I am quite new to Ubuntu....


This is a bug described here and here, where setting the no password login also removes the password therefore using sudo etc. is impossible. The link given by @Rohit is essential to re-create your lost password. If you can still login however, you can open up the terminal; usually CTRL+ALT+T and type passwd to change your password.

| improve this answer | |
  • passwd assumes you want to change your own password if you don't specify any arguments. – psusi Jun 15 '12 at 1:33
  • Right, It's just that I'm used to run passwd with root. Hence the username. I'll update my answer. – Rey Leonard Amorato Jun 15 '12 at 12:26

Follow the below link to resolve your issueHow to reset your password or this with new OS

I personally suggest to have password, even if small but strong and secret

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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