Root user on newer Linux distributions inkl. Fedora

When I downloaded Fedora 34, I also got the then-latest Ubuntu; in the past, I’ve preferred to
have both Fedora and Ubuntu, and a Microsoft platform [still using Windows 8.1], bootable. When
Fedora 36 came out, I downloaded and burned a DVD for it, but didn’t install it; I was afraid that it
might have gone the same way as Ubuntu had. As of Fedora 34, when I needed to perform super-user functions, I would just be asked for my regular user password, and I would become root. Ubuntu suddenly wouldn’t accept that, and since I had never created a super-user password,
I was up the creek. If installation of Fedora 36 asks me to enter a root-user password, in addition
to my regular password, please tell me that. I just don’t want to find myself up the same creek
with Fedora 36 as with Ubuntu.

By the way: Fedora 34 still has Xterm. Does F36?

Installed by default: no (at least in the F36 Workstation & KDE spin live installations). But xterm is still in the Fedora repo, remains maintained, and can be installed easily with dnf install xterm

1 Like

Regarding your superuser question, Fedora 34 and 36 are the same – use the sudo command and you’ll be prompted for your user password. You can skip that password step by editing the sudoers file, making it easier and faster to use the root capabilities. For more information, search for information on the sudo command and the /etc/sudoers file.

You can also enable the ability to su to root with sudo passwd root and create a root user password, then you would be able to su with the root password and do admin tasks at will.

1 Like

@daveboss what exactly is the question here? What are your doubts?

You might be interested in point 4 of the following main-topic:
New Linux Users | pitfalls and differences | Win/Linux

sudo -i gives you a root shell too. From there you can do anything you want including passwd

btw, …

you can always reset the root password, no matter if Ubuntu or Fedora.

1 Like

No doubts. I’ve run Linux and been its only user for years. With Fedora, there wasn’t
a problem and continues to be no problem. I did encounter a problem with Ubuntu. If you know why, as of the latest Ubuntu, it didn’t let me, the first user, act as super-user, please tell me, but
I suppose I could ask Ask Ubuntu, about that.

Anyway, thank you!

                                                                                                David Boss

You can do everything with sudo, that is why the root user comes with a locked/blank password.
It seams to be that Linux distro’s with the Gnome Desktop follow a more restrictive direction.
So does Ubuntu. Letting away the option to set a Password for the root user, simplifies the installation and makes a default installation more secure.

Using sudo passwd root ones after a new installation gives you the comfort you had with setting the root password while doing a installation.

On existing systems the root user can be locked while doing sudo passwd -l root.

More details see: