How to change root password on Fedora Linux

To change the root password on Fedora Linux, you need to log in as the root user or use sudo to run the following steps:

  1. Open a terminal window.
  2. Type the following command to change the root password:
sudo passwd
  1. Enter the current root password, and then follow the prompts to enter and confirm the new password.
  2. After you have confirmed the new password, the password for the root account will be changed.

That’s it! The root password for your Fedora Linux system has now been changed.

Leave a Comment