I managed to set up my system to use either LDAP or the local password (by adding "password sufficient pam_ldap.so" to PAM and calling "pam_unix2.so" afterwards). However I would like to restrict a certain group of users to be able to only use LDAP and not have the fallback of pam_unix2.so. Is there way of doing this?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
I don't think there is any point in having local accounts for users that are in LDAP, since all the needed information can be loaded from LDAP anyways. If you remove the local accounts for the users who should only log in through LDAP, then won't that fix this problem? |
|||
|
|
in case this is intersting for others, I found the answer here: |
|||
|
|