summaryrefslogtreecommitdiff
path: root/debian/ssh.pam
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ssh.pam')
-rw-r--r--debian/ssh.pam30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/ssh.pam b/debian/ssh.pam
new file mode 100644
index 000000000..81c18371e
--- /dev/null
+++ b/debian/ssh.pam
@@ -0,0 +1,30 @@
1# PAM configuration for the Secure Shell service
2
3# Disallow non-root logins when /etc/nologin exists.
4auth required pam_nologin.so
5
6# Read environment variables from /etc/environment and
7# /etc/security/pam_env.conf.
8auth required pam_env.so # [1]
9
10# Standard Un*x authentication.
11@include common-auth
12
13# Standard Un*x authorization.
14@include common-account
15
16# Standard Un*x session setup and teardown.
17@include common-session
18
19# Print the message of the day upon successful login.
20session optional pam_motd.so # [1]
21
22# Print the status of the user's mailbox upon successful login.
23session optional pam_mail.so standard noenv # [1]
24
25# Set up user limits. Uncomment this and read /etc/security/limits.conf to
26# enable this functionality.
27# session required pam_limits.so
28
29# Standard Un*x password updating.
30@include common-password