This article will help you to enable root user on fedora GUI Desktop.
- Open Terminal from Applications -> System Tools
- Login into system as root or become superuser.
su -
or
sudo su -
- Edit /etc/pam.d/gdm configuration file with your favorite editor (first create backup of config file).
vim /etc/pam.d/gdm
- Put # before auth required pam_succeed_if.so user != root quiet line.
# auth required pam_succeed_if.so user != root quiet
- Save and exit the editor.
- Do the same with files in /etc/pam.d/ starting with “pam_” configuration file.
- Save and close all files, reboot your Fedora system. Now you can login with root.
sudo passwd root
it will ask for current user with high-test privilege’s.
put the password in
and then system will prompt enter the root passwd twice and root is unlocked..