I recently upgraded Fedora 12 to 14 and I can no longer login as root from the GUI login screen. I choose Other, but no dice. I know that it is bad practice to do this normally and that is probably why it was implemented, but it's a VM in a closed environment.

So how can I enable the root user in Gnome for Fedora 14?

link|improve this question
feedback

4 Answers

up vote 2 down vote accepted

Well you should have a secondary user other than root on the system to login with. Hopefully that user is in the sudoers file and has root permissions or is a part of the wheel group?

If the above criteria is met you can do the following from terminal:

sudo vim /etc/pam.d/gdm

Then comment out this line:

#auth       required    pam_succeed_if.so user != root quiet

Then open this file:

sudo vim /etc/pam.d/gdm-password

Then comment the following line (same as the above):

#auth       required    pam_succeed_if.so user != root quiet

Log out of that account and login in as root using the "Other" option. You will get some long winded alert about how it is not secure to use the root account, just close and you are in!

link|improve this answer
feedback

Searching for "Gnome enable root login" provided this snippet:

To permanently enable root login to gnome under Debian, edit the /etc/gdm/gdm.conf file.
In the [security] section of the file, add the following line:
AllowRoot=True

link|improve this answer
I am using Fedora not Debian. My gdm.conf also does not have a [security] section listed in the file. – tbird Nov 11 '10 at 23:06
feedback

There is a way with screenshot and brief description of enabling root user in fedora 14 link click here

link|improve this answer
feedback
sudo su
passwd

done.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.