How to Reset a Forgotten Root Password in Linux Mint

It’s not unusual for users to forget their root passwords. It’s a common occurrence especially if you haven’t logged in as the root user for a long period of time. It can happen to the best of us. But don’t worry. In this guide, we will walk you through how you can reset a forgotten root password in Linux Mint.

Read Also: How to Reset Forgotten Root Password in Debian 10

To get started, power on or reboot your Linux Mint system. After a few seconds, you should get a grub menu on the screen as shown below.

Linux Mint Grub Menu
Linux Mint Grub Menu

On the first highlighted option, press 'e' on the keyboard to edit the grub parameters. You should get the screen shown below.

Linux Mint Grub Parameters
Linux Mint Grub Parameters

Next, scroll down using the arrow down cursor key until you get to the line beginning with 'linux'. Navigate until you get to the ro quiet splash section and add rw init=/bin/bash.

Change Linux Mint Grub Parameter
Change Linux Mint Grub Parameter

Then press ctrl + x or hit F10 to boot into a single-user mode as shown below.

Linux Mint Single-User Mode
Linux Mint Single-User Mode

To reset the forgotten root password in Linux Mint, simply run the passwd root command as shown.

# passwd root

Specify the new root password and confirm it. If the password matches, you should get a ‘password updated successfully‘ notification.

Reset Root Password in Linux Mint
Reset Root Password in Linux Mint

And finally, press Ctrl + Alt + Del to exit and reboot Linux Mint. You can now log in as the root user using the newly created password. And that’s how you can reset a forgotten root password om Linux Mint.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

5 thoughts on “How to Reset a Forgotten Root Password in Linux Mint”

  1. I have forgotten my password and I have all those tutorial but they are in vain the os is Linux Mint 19.2 and the asset is Lenovo G50.

    Please help me.

    Reply
  2. I’m a total greenie who can ONLY follow instructions and they did NOT work for me. The systems say the change is successful but I don’t know where to go from the prompt is dumps me at. “login” goes nowhere. So I do a hard reboot and then my new PW is NOT accepted.

    After running thru the “seemingly simple” steps a 2nd time and getting the same result, I’ve no idea what to do. How can I thank anyone?

    Reply
  3. Has anyone tried this? Maybe you should add a new user or change the password for an existing user? Who knows?

    Reply
  4. Very clear directions, as ever, but I always that Ubuntu-based systems like Mint did not make use of the root user, relying instead on sudo for an administrative user. This is the password that matters if you forget or lose it. Presumably, if you follow the directions here you’d have to log into the root account and update the admin user password from there if in fact, it’s the admin user password you’ve lost?

    Reply

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.