-- fervenTech --

-- fervenTech --

Fedora GUI Root Login..!

Author: Bharath M Urs


Fedora GUI Root Login

When i installed fedora 10 and 11, i was not able to login as root from the GUI screen. The root login is disabled by default for security issues..!
The Solution is to comment a line in the files gdm and gdm-password files located in /etc/pam.d.

To enable GUI root login, just follow the steps

> $ su
[root password]
Type "gedit /etc/pam.d/gdm"
You may find the following lines in the file gdm

auth     [success=done ignore=ignore default=bad] pam_selinux_permit.so

# auth       required    pam_succeed_if.so user != root quiet   <- Comment by inserting # at the beginning of the line.!
auth       required    pam_env.so
auth       substack    system-auth
auth       optional    pam_gnome_keyring.so
account    required    pam_nologin.so
account    include     system-auth
password   include     system-auth
session    required    pam_selinux.so close
session    required    pam_loginuid.so
session    optional    pam_console.so
session    required    pam_selinux.so open
session    optional    pam_keyinit.so force revoke
session    required    pam_namespace.so
session    optional    pam_gnome_keyring.so auto_start
session    include     system-auth

[For fedora 10 users stop here, logout and then login as root.!]

Fedora 11 users continue,

Type "gedit /etc/pam.d/gdm-password"
You may see the following lines in the file gdm-password 
auth        substack      password-auth
# auth        required      pam_succeed_if.so user != root quiet   <- Comment by inserting # at the beginning of the line.!
auth        optional      pam_gnome_keyring.so

account     required      pam_nologin.so
account     include       password-auth
password    include       password-auth
session     required      pam_selinux.so close
session     required      pam_loginuid.so
session     optional      pam_console.so
session     required      pam_selinux.so open
session     optional      pam_keyinit.so force revoke
session     required      pam_namespace.so
session     optional      pam_gnome_keyring.so auto_start
session     include       password-auth

Now logout the system and then login as root..! [select "other" option in GUI menu]



©Bharath Urs