password doesn't work in GUI or command line
My computer is stuck in a GUI log in loop. I enter the correct password but it just comes back to the original screen after I press enter to log in. I tried changing my password several times but that didn't work even though my password was successfully changed. My password won't work in the command line either. So, my password doesn't work in the GUI or the command line.
When I go to the command line either via booting into recovery mode and then dropping to root shell prompt, or by pressing ctrl+alt+F2 in the GUI, after I enter a command the next line will ask me for my password but then when I enter my password, it says "Login incorrect".
The method I used to change the password was:
mount -o remount,rw /
chmod 640 /etc/shadow
sudo passwd USER
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dustin Raymond Leonard
- Solved:
- Last query:
- Last reply: