Quote:
Originally Posted by DejaCpp
2. added auth required pam_listfile.so item=user sense=deny file=/etc/root-no-login onerr=succeed to /etc/pam.d/gdm and the root-no-login file contains root
|
/etc/pam.d/gdm sources /etc/pam.d/system-auth, so unless your "auth required pam_listfile" line comes first and you have copied required lines over from system-auth, behaviour will be partially controlled there. The only other GDM-related root-login-governing settings I found where 'echo -en "AllowRoot=false\nAllowRemoteRoot=false\n" >> /etc/X11/gdm/gdm.conf-custom'. You should not mess with roots shell, leave it as it is.