I want to disable root login using LXDM. I've checked the lxdm.conf file and there seems to be a blacklist user line, but adding root to it doesn't seem to work. Also doing some research I found out that you can disable root login through PAM. This works on GDM, XDM and some other login managers. My current /etc/pam.d/lxdm file looks like this
Code: Select all
auth requisite pam_nologin.so
auth required pam_env.so
auth required pam_unix.so
account required pam_unix.so
session required pam_limits.so
session required pam_unix.so
password required pam_unix.so
Regards,
Alex