2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
7 # /etc/pam.d/common-session - session-related modules common to all services
9 # This file is included from other service-specific PAM config files,
10 # and should contain a list of modules that define tasks to be performed
11 # at the start and end of sessions of *any* kind (both interactive and
14 # As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
15 # To take advantage of this, it is recommended that you configure any
16 # local modules either before or after the default block, and use
17 # pam-auth-update to manage selection of other modules. See
18 # pam-auth-update(8) for details.
20 # here are the per-package modules (the "Primary" block)
21 session [default=1] pam_permit.so
22 # here's the fallback if no module succeeds
23 session requisite pam_deny.so
24 # prime the stack with a positive return value if there isn't one already;
25 # this avoids us returning an error just because nothing sets a success code
26 # since the modules above will each just jump around
27 session required pam_permit.so
28 # and here are more per-package modules (the "Additional" block)
29 session required pam_unix.so
30 # end of pam-auth-update config
31 session [success=1 default=ignore] pam_succeed_if.so quiet_fail quiet_success home = /nonexistent
32 session optional pam_mkhomedir.so skel=/etc/skel umask=0022
33 session optional pam_permit.so