Ask Your Question

hello everybody i have a problem in log in to root in fedora 28

asked 2018-10-09 11:29:57 -0500

Ahmed Sameh gravatar image

i installed fedora 28 on vmware 14 and i created user ahmed but i can not create password to root and i can not log in to root i tried the user password to log in to root but i failed how i can now the root password or reset it and log in to it

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2018-10-11 18:45:06 -0500

swilson gravatar image

Take a look at the Fedora changes documentation at:

Changes/ReduceInitialSetupRedundancy -

The tldr version is that the initial user can be considered an admin account since it is in the Wheel group and has access to sudo for root privileges. Check the sections User Account and Root Account of the changes document.

You can also use sudo su - with the user password to access the root account.


edit flag offensive delete link more

answered 2018-10-09 14:25:43 -0500

florian gravatar image

updated 2018-10-09 15:48:15 -0500

sudo -i

brings up a root shell. Then run


to define root’s password

edit flag offensive delete link more

answered 2018-10-11 03:25:13 -0500

weezylane gravatar image

Use sudo su and then set root password as passwd.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-10-09 11:29:57 -0500

Seen: 123 times

Last updated: Oct 11 '18