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