Installed Ubuntu 12.04 and now my authentication password does not work

Asked by David S. Watts on 2012-05-18

Installed Ubuntu 12.04 and now my authentication password does not work

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
David S. Watts
Solved:
2012-05-18
Last query:
2012-05-18
Last reply:
2012-05-18

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

passwd foo; reboot

Change foo for your Ubuntu username. Eg:

passwd andy; reboot

You can now log in with the new password and authenticate using the same password.

David S. Watts (davidswatts) said : #2

Thanks for pointing me in the right direction. Followed your instructions but password would not change. Researched the process and got the password changed by first issuing 'mount -o rw,remount'

David S. Watts (davidswatts) said : #3

That's 'mount -o rw,remount /'