Installed Ubuntu 12.04 and now my authentication password does not work

Asked by David S. Watts

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:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
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'

Revision history for this message
David S. Watts (davidswatts) said :
#3

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