Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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'm using Ubuntu 11.10 and some time ago I opened User Accounts with Administrator Privilage and I made change as "LOG IN WITHOUT PASSWORD" and now I want to add a password to My User Account. But I can not unlock the user account dialog, because it is asking for password and if it left blank still it's not opening! Please Help Me to solve My Problem!

share|improve this question
    
It should have had you make a password on the same screen where you said to log in without one. Use that password. – zpletan Apr 11 '12 at 14:36

Open a terminal, and enter "passwd" ... this will change the password for the current user. If you want to change an other users password, you will need to enter "sudo passwd", because then you need to run passwd with root privileges.

share|improve this answer
    
Hey Really Thank You Very Much for Ur Reply and for giving time to answer My Question! Really Thanks Again! – Gaurav Apr 11 '12 at 16:54

just open a terminal and write passwd It will ask for the new password if it was blank previously or ask for the old password if it was not blank.

share|improve this answer
1  
Hey Really Thank You Very Much for Ur Reply and for giving time to answer My Question! Really Thanks Again! – Gaurav Apr 11 '12 at 16:54
up vote 1 down vote accepted

I found the solution when I encountered this before.

  1. Open up Terminal and type in passwd.

  2. Enter a new password (For a strong password make sure it has capitals, more than 8 characters and numbers) and press enter.

  3. Retype your new password and press enter.

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.