password do not work in 11.10

Asked by Steve Porter on 2012-03-18

I went in to administrator to turn off passwords, and since then I can not authenticate anything. It also will not let me go back in and turn the passwords back on. I read an earlier post, about adding admin back in through recovery console. Could not find anything in recovery console. Sorry, long time windows user, newbee here, and really like it so far. Thanks for any help given.

schowalla

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-03-31
Last query:
2012-03-31
Last reply:
2012-03-18

Hold shift at boot and select recovery mode then select root, you can now run:

passwd foo; reboot

Change foo for your username, Eg:

passwd andy;reboot

You can now use your new password to run admin tasks.

Steve Porter (schowalla55) said : #2

Tried but got this error
Authentication token manipulation error

Password unchanged

Thanks
Schowalla
On Mar 18, 2012 9:45 AM, "actionparsnip" <
<email address hidden>> wrote:

> Your question #191019 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Hold shift at boot and select recovery mode then select root, you can
> now run:
>
> passwd foo; reboot
>
> Change foo for your username, Eg:
>
> passwd andy;reboot
>
> You can now use your new password to run admin tasks.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/191019/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> You received this question notification because you asked the question.
>

Jeet (gour-jitendrasingh) said : #3

try this after login ;
sudo apt-get remove likewise-open

and if you are getting error in recovery mode make sure your "/" is mounted in read/write mode.

Steve Porter (schowalla55) said : #4

Yes I am
entered
passwd username;reboot

looped several times to recovery console
If I typed
passwd
it ask for new pass word
then confirm password
but would not except

thanks
schowalla

On Sun, Mar 18, 2012 at 10:10 AM, Steve Porter <
<email address hidden>> wrote:

> Your question #191019 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> Status: Answered => Open
>
> You are still having a problem:
> Tried but got this error
> Authentication token manipulation error
>
> Password unchanged
>
> Thanks
> Schowalla
> On Mar 18, 2012 9:45 AM, "actionparsnip" <
> <email address hidden>> wrote:
>
> > Your question #191019 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/191019
> >
> > Status: Open => Answered
> >
> > actionparsnip proposed the following answer:
> > Hold shift at boot and select recovery mode then select root, you can
> > now run:
> >
> > passwd foo; reboot
> >
> > Change foo for your username, Eg:
> >
> > passwd andy;reboot
> >
> > You can now use your new password to run admin tasks.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/ubuntu/+question/191019/+confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/191019
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Jeet (gour-jitendrasingh) said : #5

enter into recovery mode
try mount -n -o remount,rw /
then try recreating password as andrew suggested

thanks
jeet

Steve Porter (schowalla55) said : #6

enter the mount script in root?

Jeet (gour-jitendrasingh) said : #7

yes

Steve Porter (schowalla55) said : #8

Did as you suggested
I entered after the mount
Passwd
It allowed me to change the password,but
Password still does not work
On Mar 18, 2012 11:01 AM, "Jeet" <email address hidden>
wrote:

> Your question #191019 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> Jeet proposed the following answer:
> yes
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/191019/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> You received this question notification because you asked the question.
>

Jeet (gour-jitendrasingh) said : #9

after you rested password type
sudo -i
for plain root shell
try again now ... hope it will work

Steve Porter (schowalla55) said : #10

thanks to all for your help, have to try later

schowalla

On Sun, Mar 18, 2012 at 11:35 AM, Jeet <<email address hidden>
> wrote:

> Your question #191019 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> Status: Open => Answered
>
> Jeet proposed the following answer:
> after you rested password type
> sudo -i
> for plain root shell
> try again now ... hope it will work
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/191019/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/191019
>
> You received this question notification because you asked the question.
>

That usually happens when the partition is mounted read only. I suggest you boot to live CD/USB and fsck the partition.

Steve Porter (schowalla55) said : #12

Thanks actionparsnip, that solved my question.

Steve Porter (schowalla55) said : #13

Note
I did have to reinstall from usb drive

you don't have to reinstall for password resets but if it works for you then cool :)