The pam_access PAM module is mainly for access management. It provides logdaemon style login access control based on login names, host or domain names, internet addresses or network numbers, or on terminal line names in case of non-networked logins.
By default rules for access management are taken from config file
/etc/security/access.conf
if you don't specify another file.
OPTIONS
accessfile=/path/to/access.conf
Indicate an alternative
access.conf
style configuration file to override the default. This can be useful when different services need different access lists.
debug
A lot of debug informations are printed with
syslog(3).
noaudit
Do not report logins from disallowed hosts and ttys to the audit subsystem.
fieldsep=separators
This option modifies the field separator character that pam_access will recognize when parsing the access configuration file. For example:
fieldsep=|
will cause the default `:' character to be treated as part of a field value and `|' becomes the field separator. Doing this may be useful in conjuction with a system that wants to use pam_access with X based applications, since the
PAM_TTY
item is likely to be of the form "hostname:0" which includes a `:' character in its value. But you should not need this.
listsep=separators
This option modifies the list separator character that pam_access will recognize when parsing the access configuration file. For example:
listsep=,
will cause the default ` ' (space) and `\t' (tab) characters to be treated as part of a list element value and `,' becomes the only list element separator. Doing this may be useful on a system with group information obtained from a Windows domain, where the default built-in groups "Domain Users", "Domain Admins" contain a space.
The logdaemon style login access control scheme was designed and implemented by Wietse Venema. The pam_access PAM module was developed by Alexei Nogin <[email protected]>. The IPv6 support and the network(address) / netmask feature was developed and provided by Mike Becher <[email protected]>.