[pam.d] use_first_pass ne marche plus de la même façon

This commit is contained in:
Pierre-Elliott Bécue 2013-04-19 17:24:15 +02:00
parent ceaf481894
commit b311a6c2f4

View file

@ -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;