Ask Your Question
0

How to set a root password on Fedora 28

asked 2018-05-06 08:45:54 -0500

Davide Sestili gravatar image

I noticed that with a new installation of Fedora 28 I can not set a root password, the community wants to make Fedora as Ubuntu?

edit retag flag offensive close merge delete

Comments

To be honest, I don't know if the Fedora Community wants Fedora to be more like Ubuntu or not. (I don't.) However, it does look as though the devs do and that they don't really care if the users want to go that route or not.

sideburns gravatar imagesideburns ( 2018-05-07 16:45:37 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-05-06 10:27:34 -0500

Mic gravatar image

True, but then by default the user can "sudo". After installing, you just have to:

sudo passwd root

And you can set the root password. Then, if you'd like to remove yourself from sudoers, you have to leave the wheel group where you are put by default and behaves specifically in the default sudoers file:

sudo gpasswd -d your-user wheel

And then treat your sudoers rules as before.

edit flag offensive delete link more
0

answered 2018-05-07 09:31:54 -0500

lsatenstein gravatar image

If you reinstall most Fedora versions at sometime in the future, anaconda asks you for both a root password and a user. Under the "user" creation is a [x] box wherein you can click to make yourself an administrator.

Answer by Mic above is the correct approach.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2018-05-06 08:45:54 -0500

Seen: 3,847 times

Last updated: May 07 '18