[pam.d] use_first_pass ne marche plus de la même façon
This commit is contained in:
parent
ceaf481894
commit
b311a6c2f4
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ if not has('wheezy'):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
@# here are the per-package modules (the "Primary" block)
|
@# here are the per-package modules (the "Primary" block)
|
||||||
@auth [success=2 default=ignore] pam_unix.so nullok_secure use_first_pass
|
|
||||||
if has('ldap'):
|
if has('ldap'):
|
||||||
print "auth [success=1 default=ignore] %s minimum_uid=1000" % pam_module
|
print "auth [success=2 default=ignore] %s minimum_uid=1000" % pam_module
|
||||||
|
@auth [success=1 default=ignore] pam_unix.so nullok_secure
|
||||||
@# here's the fallback if no module succeeds
|
@# here's the fallback if no module succeeds
|
||||||
@auth requisite pam_deny.so
|
@auth requisite pam_deny.so
|
||||||
@# prime the stack with a positive return value if there isn't one already;
|
@# 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