Thursday, January 15, 2009

Enable GUI login manager on Fedora 10

Hello dear friend,s

Q. How to enable root login under Fedora 10 Gnome GUI login screen / manager?

A. Fedora 10 uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characteristics of the account belonging to the user being authenticated. One use is to select whether to load other modules based on this test. This module blocks root login using GUI.

# firstly login with normal user

# then open GUI (bash terminal) and type the following command to become root user: ie

~]$ su -

password ****** --------------> this is root password which is given by us during installation.

# now open the file /etc/pam.d/gdm and Find line that read as follows: like

# auth required pam_succeed_if.so user != root quiet

# Remove or comment out line by prefixing #.

# for example ----> ~]# vim /etc/pam.d/gdm

#%PAM-1.0
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth required pam_succeed_if.so user != root quiet
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

No comments: