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.

Whenever I try to install or remove software I end up getting an authentication failed message. I've already entered my password and it tells me authentication failed. I do know my password but for some reason it doesn't take it my log in and key ring are the same password, mainly since I'm the only one in my family who's comfortable with Linux.

foxxy_gunmage@Rei-Ayanami:~$ sudo ls
[sudo] password for foxxy_gunmage: 
Sorry, try again.
[sudo] password for foxxy_gunmage: 
Sorry, try again.
[sudo] password for foxxy_gunmage: 
Sorry, try again.
sudo: 3 incorrect password attempts
foxxy_gunmage@Rei-Ayanami:~$ groups
foxxy_gunmage adm dialout fax cdrom floppy tape audio dip video plugdev fuse netdev lpadmin nopasswdlogin admin sambashare vboxusers powerdev
foxxy_gunmage@Rei-Ayanami:~$ 
share|improve this question
    
did you set Ubuntu to log in automatically without a password? –  TrailRider Jul 12 '12 at 0:29
    
yes i did do i set it back? and how do i do that? –  Kit Jul 12 '12 at 14:05
    
Did you make your password blank (i.e., zero characters long)? Please note that this is not the same thing as setting up Ubuntu to log you in automatically. –  Eliah Kagan Jul 12 '12 at 17:34
    
no its a string of eight characters –  Kit Jul 12 '12 at 17:55

1 Answer 1

up vote 1 down vote accepted

I had the same problem.
I thought this bug was fixed, but maybe not. Here is information I found while searching for a solution(don't remember where or I would link to it)

There is(or was) a bug that removes your password when you set the automatic login. open a terminal and type to following.

  • passwd {username}
  • replace {username} with your username NOTE THE SPELLING: passwd (no "or")

  • it will ask you for your current password just press enter.(your password should be blank due to the bug)

  • it will then ask you for your new password type it and press enter

  • it will ask you to enter it again, do so and press enter.

  • It should then tell you your password has been updated, you should then be able to use your password as needed.

This is the easiest way to reset your password but, if you get errors, you will need to reset your password with the rescue shell, that answer is HERE.

share|improve this answer
    
thanx TrailRider that worked –  Kit Jul 13 '12 at 0:49
    
Well, if you do end up find it later, I recommend editing your answer to include a link to it. –  Eliah Kagan Jul 23 '12 at 0:35

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.