puppet 4 foo
[mirror/dsa-puppet.git] / modules / debian_org / templates / pam.common-session-noninteractive.erb
1 ##
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
4 ##
5
6 #
7 # /etc/pam.d/common-session-noninteractive - session-related modules
8 # common to all non-interactive services
9 #
10 # This file is included from other service-specific PAM config files,
11 # and should contain a list of modules that define tasks to be performed
12 # at the start and end of all non-interactive sessions.
13 #
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.
19
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