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

Asked by James Schuler

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:
Last query:
Last reply:
Revision history for this message
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