Upload etc/pam.d/chsh with huggingface_hub
Browse files- etc/pam.d/chsh +20 -0
etc/pam.d/chsh
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#
|
2 |
+
# The PAM configuration file for the Shadow `chsh' service
|
3 |
+
#
|
4 |
+
|
5 |
+
# This will not allow a user to change their shell unless
|
6 |
+
# their current one is listed in /etc/shells. This keeps
|
7 |
+
# accounts with special shells from changing them.
|
8 |
+
auth required pam_shells.so
|
9 |
+
|
10 |
+
# This allows root to change user shell without being
|
11 |
+
# prompted for a password
|
12 |
+
auth sufficient pam_rootok.so
|
13 |
+
|
14 |
+
# The standard Unix authentication modules, used with
|
15 |
+
# NIS (man nsswitch) as well as normal /etc/passwd and
|
16 |
+
# /etc/shadow entries.
|
17 |
+
@include common-auth
|
18 |
+
@include common-account
|
19 |
+
@include common-session
|
20 |
+
|