We want to reset an admin’s password on an Ubuntu system.
When Booting up the machine, we hold down the left
Select Recovery Mode. Use the arrow keys to scroll to the first boot option from the top that contains
(recovery mode). Hit
Select root. Use the arrow keys to scroll to
root -- Drop to root shell prompt. Hit
The root shell prompt will look like this.
List users. If needed, enter
ls /home to list all user accounts.
Reset the password. Run, where
username is the user account you want to reset. There will be a prompt for a new password. No letters will appear when you type. This is how it should be. Hit
Enter each time you’re finished typing the password.
Exit to the menu. Type
exit and hit
Boot normally. Select
Resume Normal Boot and log in with your new password.