Page 1 of 1

Disable root login LXDM

Posted: Fri Jan 13, 2012 7:02 pm
by alexk
Dear forum readers,

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
Anybody who can advise on how to get it done?

Regards,
Alex