How to Enable Root Password on Red Hat and Fedora Linux

All Linux distros and open source issues here
Forum rules
Open source issues and Linux issues.
Post Reply
Posts: 143
Joined: Wed Apr 19, 2017 11:20 am

How to Enable Root Password on Red Hat and Fedora Linux

Post by Fuckman » Sun Jul 07, 2019 11:53 am ... -and-more/
Fedora is a community driven version of Red Hat Enterprise Linux in my opinion and as powerful as Red Hat if you enable certain functionalities and can deal with bi annual upgrades as a new release is set out every 6 months or so.

By default, Root privileges are disabled for security reasons as this is prone to attacks online if such a user is not well knowledgeable when it comes to Linux.

These are simple steps to enable Root access on Fedora Linux 30/31 and hopefully further releases henceforth:

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

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.
How-to-set-root-passwd-in-Fedora-30-31.jpg (47.13 KiB) Viewed 130 times

Post Reply