HOME > Linux > Linux Mint Forgot Password - This Helps

Linux Mint forgot password - this helps

Unlike other Linux systems, Linux Mint gives you the option to set a new password even if you have forgotten your current password. To do this, simply start your PC in recovery mode. We will show you which steps are necessary for this.

How to set a new password on Linux Mint

If you do not remember which password you have set for your Linux Mint computer, you have the option to reset it. To do this, first start your computer and meanwhile press the "Shift" key to open the recovery mode.
  1. Navigate there to the "root" option and select it by clicking "Enter". Then enter the command "mount -o remount,rw /" and confirm your entry again with the "Enter" key.
  2. Now to make a password change, use the command "passwd NAME" and replace "NAME" thereby by your Linux Mint user name.
  3. Then enter your new password twice and confirm each time with the Enter key.
  4. To save the changes you have made, first enter the commands "sync" and "mount -o remount,ro /" and exit recovery mode by entering "exit".

This helps if you have forgotten your Linux Mint username

To use the method described above to set a new password, you do not need to enter your current password, but your username. If you don't remember this either, you can retrieve your username in recovery mode. To do this, simply type the command "cat /etc/passwd" and this will be displayed on the screen after you press the "Enter" key.

By Lust

Resetting the Samsung Galaxy A70 - how to proceed :: Resetting Technicolor router - how to reset it
USEFUL LINKS