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'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
add comment

3 Answers

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
add comment

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
add comment
up vote 0 down vote accepted

I founded The Solution For My Problem As Given Below:

  • Step 1

Opened Terminal & Typed My Username (By just giving username ONLY I logged in into Terminal)

  • Step2

I typed "passwd" Then On Screen Appeared: Enter New UNIX Password I given which I want to, then Clicked Enter

  • Step3

Retyped Password given in above line

  • Step4

Successfully Changed Password!

share|improve this answer
add comment

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.