diff options
Diffstat (limited to 'debian/ssh.pam')
-rw-r--r-- | debian/ssh.pam | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/ssh.pam b/debian/ssh.pam new file mode 100644 index 000000000..f6fbd3ebc --- /dev/null +++ b/debian/ssh.pam | |||
@@ -0,0 +1,21 @@ | |||
1 | #%PAM-1.0 | ||
2 | auth required pam_nologin.so | ||
3 | auth required pam_unix.so | ||
4 | auth required pam_env.so # [1] | ||
5 | |||
6 | account required pam_unix.so | ||
7 | |||
8 | session required pam_unix.so | ||
9 | session optional pam_motd.so # [1] | ||
10 | session optional pam_mail.so standard noenv # [1] | ||
11 | session required pam_limits.so | ||
12 | |||
13 | password required pam_unix.so | ||
14 | |||
15 | # Alternate strength checking for password. Note that this | ||
16 | # requires the libpam-cracklib package to be installed. | ||
17 | # You will need to comment out the password line above and | ||
18 | # uncomment the next two in order to use this. | ||
19 | # | ||
20 | # password required pam_cracklib.so retry=3 minlen=6 difok=3 | ||
21 | # password required pam_unix.so use_authtok nullok md5 | ||