From 6cfae0f7454977a2a1171b25e82cef512c14e156 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:54:38 +0200 Subject: Adding debian version 1:4.13+dfsg1-1. Signed-off-by: Daniel Baumann --- debian/passwd.chsh.pam | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/passwd.chsh.pam (limited to 'debian/passwd.chsh.pam') diff --git a/debian/passwd.chsh.pam b/debian/passwd.chsh.pam new file mode 100644 index 0000000..7eb604d --- /dev/null +++ b/debian/passwd.chsh.pam @@ -0,0 +1,20 @@ +# +# 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. +@include common-auth +@include common-account +@include common-session + -- cgit v1.2.3