# I can't find my user password or change it

In the terminal, whenever I try to perform sudo, Ubuntu asks my password and it always says I typed it in wrong.

I tried changing the password as root, but then it says password unchanged.

My user don't have to enter its password on the login screen, and I think that may have something to do with it.

Does anyone know how to fix this?

• Boot in recovery mode as root

perform these commands:

• mount -o rw,remount /
• nano /etc/sudoers

Look for a line containing root ALL=(ALL:ALL) ALL, below that add this line:

your_username_here ALL=(ALL:ALL) ALL

(Press Ctrl+X to exit nano, and answer 'y' to save the changes)

• Enter passwd your_username_here and set a new password.