blob: 2ba6964eb305234dcc641ae19a7af998b7784743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#if HAVE_LIMITS
session required pam_limits.so DEBUG
#endif
#if HAVE_ENV
session required pam_env.so DEBUG
#endif
#if HAVE_MKTEMP
session optional pam_mktemp.so
#endif
/* Only Linux-PAM supports session chain for pam_unix; but if it were
to not support it for whatever reason, still execute pam_krb5, with
sufficient level instead. */
#if SUPPORT_UNIX_SESSION
# if HAVE_KRB5
session KRB5_CONTROL pam_krb5.so KRB5_PARAMS
# endif
session required pam_unix.so DEBUG
#else
# if HAVE_KRB5
session sufficient pam_krb5.so KRB5_PARAMS
# endif
#endif
session optional pam_permit.so
|