aboutsummaryrefslogtreecommitdiffstats
path: root/meta-lsb/packages/shadow/shadow-4.1.4.2/pam.d/chsh
blob: 8fb169f64e1d200220b301459f7899880c7d0aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# The PAM configuration file for the Shadow `chsh' service
#

# This will not allow a user to change their shell unless
# their current one is listed in /etc/shells. This keeps
# accounts with special shells from changing them.
auth       required   pam_shells.so

# This allows root to change user shell without being
# prompted for a password
auth		sufficient	pam_rootok.so

# The standard Unix authentication modules, used with
# NIS (man nsswitch) as well as normal /etc/passwd and
# /etc/shadow entries.
auth       include      common-auth
account    include      common-account
session    include      common-session