summaryrefslogtreecommitdiffstats
path: root/core/modules/pam/data/etc/pam.d/sshd
blob: 1616603dc1aeca0ee7e0303ac1db84efed45b783 (plain) (blame)
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
# PAM configuration for the Secure Shell service

# Standard Un*x authentication.
auth include common-auth

# Disallow non-root logins when /etc/nologin exists.
account    required     pam_nologin.so

# Standard Un*x authorization.
account include common-account

# Standard Un*x session setup and teardown.
session include common-session

# Print the message of the day upon successful login.
session    optional     pam_motd.so # [1]

# TODO do we need this?
# Set up user limits from /etc/security/limits.conf.
#session    required     pam_limits.so

# Set up SELinux capabilities (need modified pam)
# session  required     pam_selinux.so multiple

# Standard Un*x password updating.
password include common-password