how to change forgotten password on linux?
To reset the forgotten root password in Linux Mint, simply run the passwd root command as shown. Specify the new root password and confirm it. If the password matches, you should get a 'password updated successfully' notification.