aboutsummaryrefslogtreecommitdiff
blob: eeba9ac31d072620d23b5be47f2995c1d4473b3a (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
26
27
28
29
30
31
32
#if HAVE_ENV
auth		required	pam_env.so DEBUG
#endif
#ifdef HAVE_PAM_SSH
auth		sufficient	pam_ssh.so
#endif
auth		required	pam_unix.so try_first_pass LIKEAUTH nullok DEBUG
 
account		required	pam_unix.so DEBUG
 
#if HAVE_CRACKLIB
password	required	pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3 DEBUG
#endif
#if HAVE_PASSWDQC
password	required	pam_passwdqc.so min=8,8,8,8,8 retry=3
#endif
password	required	pam_unix.so try_first_pass AUTHTOK nullok UNIX_EXTENDED_ENCRYPTION DEBUG
 
#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
#ifdef HAVE_PAM_SSH
session		optional	pam_ssh.so
#endif
session		required	pam_unix.so DEBUG