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 reset my password in ubuntu 12.04. I got "password reset successfully" message.But when I try install/ unistall softwares, I get "worng pawwsord" message.

Why it is so?

share|improve this question
add comment

1 Answer

Do this in terminal

passwd

you can change the password for the account you are currently logged in

for changing other users password do

passwd <username>

the problem with yours maybe your caps lock was on or mistyped your password.

If unable to reset your password or lost it do the following:

  1. Boot into recovery mode

  2. then select 'root'

  3. then enter command

    mount -o rw,remount /
    
  4. then do

    passwd username
    

this resets the password for the specified account

if you have forgotten the username as well do

ls /home

and the list of users show up

reset the password by entering the above mentioned command

  1. then enter

    exit
    

and select resume from the recovery options menu then ok

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.