Ubuntu Password after setting to none and changing passwd from recovery not helping

Asked by James Schuler on 2012-08-24

I went to User Accounts unlocked, and changed password to none. I can no longer unlock user account, or make changes/install updates. I have rebooted in recovery mode, gone to the root and performed passwd username; reboot. at which time i entered a password, but after rebooting that password does not work. What do I do now?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
James Schuler
Solved:
2012-08-24
Last query:
2012-08-24
Last reply:
James Schuler (j-im) said : #1

in recovery mode from root I needed to:

mount -rw -0 reount /

(this changed the system to read/write)

then I was able to us:

sudo passwd username

and enter a password.

problem solved