[pam.d] La partie wheezy ne marche pas comme prévu, là ça devrait être mieux
This commit is contained in:
parent
a818dc2778
commit
08278f99fe
4 changed files with 16 additions and 10 deletions
|
@ -25,8 +25,10 @@ if not has('wheezy'):
|
|||
else:
|
||||
@# here are the per-package modules (the "Primary" block)
|
||||
if has('ldap'):
|
||||
print "auth [success=2 default=ignore] %s minimum_uid=1000" % pam_module
|
||||
@auth [success=1 default=ignore] pam_unix.so nullok_secure
|
||||
print "auth [success=2 default=ignore] pam_unix.so nullok_secure"
|
||||
print "auth [success=1 default=ignore] %s minimum_uid=1000 use_first_pass" % pam_module
|
||||
else:
|
||||
print "auth [success=1 default=ignore] pam_unix.so nullok_secure"
|
||||
@# here's the fallback if no module succeeds
|
||||
@auth requisite pam_deny.so
|
||||
@# prime the stack with a positive return value if there isn't one already;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue