...
Use the down arrow key to select "Advanced options for Ubuntu", then press the <enter> (return) key
You get:From here use the down arrow key to select the option Ubuntu with Linux a.b.c-dd-generic (recovery mode) [where the Linux kernel version: a.b.c-dd varies], then press the <enter> (return) key
The system boots displaying various boot messages and then you get the recovery menu:From here use the down arrow key to select the option root (Drop to root shell prompt), then press the <enter> (return) key.
You get:Press <Enter>
You get:
and you are now at the command prompt - logged in as rootTo change the password of the user <username> enter the command:
# passwd <password>
and you are now prompted for the password:
New password: ← enter the new password here
Retype new password: ← enter the new password here (again)
and provided that it worked you get:
passwd: password updated successfullyNow you are back to the prompt (#) - press control-D to get back to the Recovery Menu and then choose resume (resume normal boot)from the menu to boot the system
Now press <Enter> (return) to exit recovery mode
The system now boots. When complete you get the login prompt where you can log in as itrinegy <username> with your new password