Enable root GDM (GNOME) login in Fedora 12

14 12 2009

To enable root login in GDM;  it’s a bit simpler in fedora 12 as compared to fedora 10 and 11 and you need to edit multiple files. Gain root privileges (su -), then:

# cd /etc/pam.d/
# fgrep “user != root” gdm*

On my system it returns two files, gdm and gdm-password; depending on your installed PAM and/or GDM type options there may be more files on your system. The process is the same for all of them:

# cp -a gdm gdm.orig
# vi gdm

…and simply delete the line that looks like:

auth required pam_succeed_if.so user != root quiet

Repeat the process with each file that matched the above fgrep and you’re all set, you can now log in as root from GDM. There are other files in /etc/pam.d/ that also contain the same logic (racoon, e.g.) – no need edit those, they shouldn’t be touched.








Follow

Get every new post delivered to your Inbox.