My password is not working how can I fix it

Asked by Virgil Barnes on 2011-08-21

My password is not working How can I fix it

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2011-08-21
Last query:
2011-08-21
Last reply:
2011-08-21

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

passwd foo; reboot

Change foo for your username. E.g:

passwd andy; reboot

You can now log in as your username using the password you just set.

Chris (fabricator4) said : #2

As of Grub 2 ver 1.99 there does not appear to be a menu entry for booting into root. I'm currently trying "repair broken packages" to see if it leaves the system logged in as root, but the only option for the OP may be to boot off the LiveCD and chroot into the filesystem.

Chris.

Virgil Barnes (uffivirg) said : #3

I am running ubuntu 11.04 the information you sent me does not seem to work
Maybe I am doing something wrong.

On Sun, Aug 21, 2011 at 3:15 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #168752 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/168752
>
> 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. E.g:
>
> passwd andy; reboot
>
> You can now log in as your username using the password you just set.
>
> --
> 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/168752/+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/168752
>
> You received this question notification because you asked the question.
>

Hold shift as soon as the system even starts to boot...

Virgil Barnes (uffivirg) said : #5

I don't need a password for login I just need a password for making changes.
Like the update manger ask for a password and I type my password and it keep
saying wrong password

On Sun, Aug 21, 2011 at 3:15 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #168752 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/168752
>
> 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. E.g:
>
> passwd andy; reboot
>
> You can now log in as your username using the password you just set.
>
> --
> 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/168752/+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/168752
>
> You received this question notification because you asked the question.
>

It's the SAME password.

Virgil Barnes (uffivirg) said : #7

Thank you so much it worked, I guess I was doing somethin wrong before

Virgil Barnes (uffivirg) said : #8

Thank You so much it work this time. I guess I was doing something wrong
before

On Sun, Aug 21, 2011 at 5:21 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #168752 on sudo in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/168752
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> It's the SAME password.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/sudo/+question/168752/+confirm?answer_id=5
>
> 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/+source/sudo/+question/168752
>
> You received this question notification because you asked the question.
>

No worries dude :)