1PAM_SHELLS(8) Linux-PAM Manual PAM_SHELLS(8)
2
3
4
6 pam_shells - PAM module to check for valid login shell
7
9 pam_shells.so
10
12 pam_shells is a PAM module that only allows access to the system if the
13 user's shell is listed in /etc/shells.
14
15 It also checks if /etc/shells is a plain file and not world writable.
16
18 This module does not recognise any options.
19
21 The auth and account module types are provided.
22
24 PAM_AUTH_ERR
25 Access to the system was denied.
26
27 PAM_SUCCESS
28 The user's login shell was listed as valid shell in /etc/shells.
29
30 PAM_SERVICE_ERR
31 The module was not able to get the name of the user.
32
34 auth required pam_shells.so
35
36
37
39 shells(5), pam.conf(5), pam.d(5), pam(8)
40
42 pam_shells was written by Erik Troan <ewt@redhat.com>.
43
44
45
46Linux-PAM Manual 09/03/2021 PAM_SHELLS(8)