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 needed files (e.g. /etc/shells) are plain files and
16 not world writable.
17
19 This module does not recognise any options.
20
22 The auth and account module types are provided.
23
25 PAM_AUTH_ERR
26 Access to the system was denied.
27
28 PAM_SUCCESS
29 The user's login shell was listed as valid shell in /etc/shells.
30
31 PAM_SERVICE_ERR
32 The module was not able to get the name of the user.
33
35 auth required pam_shells.so
36
37
38
40 shells(5), pam.conf(5), pam.d(5), pam(8)
41
43 pam_shells was written by Erik Troan <ewt@redhat.com>.
44
45
46
47Linux-PAM 05/07/2023 PAM_SHELLS(8)