How to set root password in Fedora 28,29 or older versions

- Advertisment -
- Advertisement -

The Fedora is based on RedHat and almost work like in the same way, however, just like Ubuntu it also does not give the option to set the root password while the installation. And if you are new to it then after setting up the Fedora Linux you might be baffled; how to access the root user to install some programs. Well, to solve this small problem we are here with this tutorial in which we let you know the commands to setup root user password on Fedora 28, Fedora 29 or earlier versions Fedora 28, 27, 26 and so on.

  1. Go to your Fedora OS.
  2. Open the Command terminal. 
  3. Type the below command to change the default root password and set the new one.
    • sudo passwd root
  4. Once you enter the above command it will ask you to enter the new password for Fedora’s root user.
  5. In case the default Terminal doesn’t work, then search for Qterminal and use that.How to set root passwd in Fedora 28, 29

You can even emulate your the current user to use as root using the below command

sudo su


sudo -i

In this way, you can set a root password for your newly installed Fedora OS.

Other articles on Password Reset:

Rajkumar Maurya
Rajkumar Maurya is the H2S Media tech expert. He’s always been passionate about technology and has been writing on the subject since 2014. He has extensive knowledge of all kinds of technology, from consumer-tech to enterprise solutions. You can contact the author at--


Please enter your comment!
Please enter your name here

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

Latest Posts

How to open Windows PowerShell in a specific location of explorer

We hardly like dealing with the Command-line interface or CLI on Windows, but it becomes inevitable at...

All about the EROFS file system for Linux file system by Huawei

When it comes to storage technologies, the reliability of storing data digitally is improving day by day,...

How to convert Word document to JPEG online on all platforms

After you have finished preparing some documents using Microsoft Word, the program of choice for most users,...

IT Industry experts weigh in on International Data Privacy Day

Data Privacy Day aims to raise awareness and promote privacy and data protection best practices and is observed in...
- Advertisement -

Stellar Announces New Version of Bitraser on Data Privacy Day

BitRaser Data Erasure software helps companies safely reuse old IT assets & mitigate risk of data breach. On the occasion...

Portronics introduces POWER BUN, a Universal USB Charging Hub

As per the recent press release public by the Portronics, the company has launched a new product that is...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you