Steps to Reset Linux Mint 20.1 or 19.3 Password
- If you no longer know which password you have set for your Linux Mint computer then to change go to the Advance boot menu. For that, turn off your computer and start it again. And meanwhile, press the “Shift” key and hold it until you see the GNU GRUB boot menu.
- As you find yourself in the Linux Mint Grub menu, at the bottom, there will be a couple of information. One of them showing the way to open Options. Thus, press the e key on your keyboard to perform editing of GNU Grub.
- Now, you will see a couple of lines that helps your system to boot properly, don’t edit any of the given lines. Just use the keyboard arrow keys and go to the line that starts with Linux.
And at the end ofro quiet splashadd a line –rw init=/bin/bashas shown in the below screenshot. After that simply press the F10 key or Ctrl+X from your keyboard to boot the system. - As you boot your Linux Mint, this time you will see the root shell prompt, and from here we can perform various system recovery tasks including resetting passwords.
- If you are familiar with the command line, then you would already know what to do to change the password. However, if not then simply type
passwd username
Replace the username with the user on your Linux that password you want to reset. For example, if it is the root, then the command will be - Enter password two times. Once done, you will get a message “password updated successfully”. To get back to your normal system boot simply press- Ctrl+Alt+Del or type- reboot