retire les switchs if has('wheezy')
This commit is contained in:
parent
fd785612d9
commit
efa75412b2
11 changed files with 14 additions and 34 deletions
|
@ -18,11 +18,7 @@ pam-auth-update to manage selection of other modules. See
|
|||
pam-auth-update(8) for details.
|
||||
""")
|
||||
|
||||
if not has('wheezy'):
|
||||
print "auth sufficient %s" % pam_module
|
||||
print "auth required pam_unix.so nullok_secure use_first_pass"
|
||||
|
||||
else:
|
||||
if True: # TODO get rid of @
|
||||
@# here are the per-package modules (the "Primary" block)
|
||||
if has('ldap'):
|
||||
print "auth [success=2 default=ignore] pam_unix.so nullok_secure"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue