[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
|
@ -24,7 +24,7 @@ if not has('wheezy'):
|
|||
|
||||
else:
|
||||
@# here are the per-package modules (the "Primary" block)
|
||||
@session [default=1] pam_permit.so
|
||||
@session [default=1] pam_permit.so
|
||||
@# here's the fallback if no module succeeds
|
||||
@session requisite pam_deny.so
|
||||
@# prime the stack with a positive return value if there isn't one already;
|
||||
|
@ -32,7 +32,7 @@ else:
|
|||
@# since the modules above will each just jump around
|
||||
@session required pam_permit.so
|
||||
@# and here are more per-package modules (the "Additional" block)
|
||||
@session required pam_unix.so
|
||||
@session required pam_unix.so
|
||||
if has('ldap'):
|
||||
print "session [success=ok default=ignore] %s minimum_uid=1000" % pam_module
|
||||
print "session [success=ok default=ignore] %s minimum_uid=1000" % pam_module
|
||||
@# end of pam-auth-update config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue