1PAM_SHELLS(8)                  Linux-PAM Manual                  PAM_SHELLS(8)
2
3
4

NAME

6       pam_shells - PAM module to check for valid login shell
7

SYNOPSIS

9       pam_shells.so
10

DESCRIPTION

12       pam_shells is a PAM module that only allows access to the system if the
13       users shell is listed in /etc/shells.
14
15       It also checks if /etc/shells is a plain file and not world writable.
16

OPTIONS

18       This module does not recognice any options.
19

MODULE SERVICES PROVIDED

21       The services auth and account are supported.
22

RETURN VALUES

24       PAM_AUTH_ERR
25              Access to the system was denied.
26
27       PAM_SUCCESS
28              The users 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

EXAMPLES

34       auth  required  pam_shells.so
35
36
37

SEE ALSO

39       shells(5), pam.conf(5), pam.d(8), pam(8)
40

AUTHOR

42       pam_shells was written by Erik Troan <ewt@redhat.com>.
43
44
45
46Linux-PAM Manual                  06/06/2006                     PAM_SHELLS(8)
Impressum