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

NAME

6       pam_access - PAM module for logdaemon style login access control
7

SYNOPSIS

9       pam_access.so [debug] [nodefgroup] [noaudit] [accessfile=file]
10                     [fieldsep=sep] [listsep=sep]
11

DESCRIPTION

13       The pam_access PAM module is mainly for access management. It provides
14       logdaemon style login access control based on login names, host or
15       domain names, internet addresses or network numbers, or on terminal
16       line names in case of non-networked logins.
17
18       By default rules for access management are taken from config file
19       /etc/security/access.conf if you don´t specify another file.
20
21       If Linux PAM is compiled with audit support the module will report when
22       it denies access based on origin (host or tty).
23

OPTIONS

25       accessfile=/path/to/access.conf
26           Indicate an alternative access.conf style configuration file to
27           override the default. This can be useful when different services
28           need different access lists.
29
30       debug
31           A lot of debug information is printed with syslog(3).
32
33       noaudit
34           Do not report logins from disallowed hosts and ttys to the audit
35           subsystem.
36
37       fieldsep=separators
38           This option modifies the field separator character that pam_access
39           will recognize when parsing the access configuration file. For
40           example: fieldsep=| will cause the default `:´ character to be
41           treated as part of a field value and `|´ becomes the field
42           separator. Doing this may be useful in conjunction with a system
43           that wants to use pam_access with X based applications, since the
44           PAM_TTY item is likely to be of the form "hostname:0" which
45           includes a `:´ character in its value. But you should not need
46           this.
47
48       listsep=separators
49           This option modifies the list separator character that pam_access
50           will recognize when parsing the access configuration file. For
51           example: listsep=, will cause the default ` ´ (space) and `\t´
52           (tab) characters to be treated as part of a list element value and
53           `,´ becomes the only list element separator. Doing this may be
54           useful on a system with group information obtained from a Windows
55           domain, where the default built-in groups "Domain Users", "Domain
56           Admins" contain a space.
57
58       nodefgroup
59           User tokens which are not enclosed in parentheses will not be
60           matched against the group database. The backwards compatible
61           default is to try the group database match even for tokens not
62           enclosed in parentheses.
63

MODULE TYPES PROVIDED

65       All module types (auth, account, password and session) are provided.
66

RETURN VALUES

68       PAM_SUCCESS
69           Access was granted.
70
71       PAM_PERM_DENIED
72           Access was not granted.
73
74       PAM_IGNORE
75
76           pam_setcred was called which does nothing.
77
78       PAM_ABORT
79           Not all relevant data or options could be gotten.
80
81       PAM_USER_UNKNOWN
82           The user is not known to the system.
83

FILES

85       /etc/security/access.conf
86           Default configuration file
87

SEE ALSO

89       access.conf(5), pam.d(5), pam(8).
90

AUTHORS

92       The logdaemon style login access control scheme was designed and
93       implemented by Wietse Venema. The pam_access PAM module was developed
94       by Alexei Nogin <alexei@nogin.dnttm.ru>. The IPv6 support and the
95       network(address) / netmask feature was developed and provided by Mike
96       Becher <mike.becher@lrz-muenchen.de>.
97
98
99
100Linux-PAM Manual                  06/16/2009                     PAM_ACCESS(8)
Impressum