table of contents
PAM_ACCESS(8) | Linux-PAM Manual | PAM_ACCESS(8) |
NAME¶
pam_access - PAM module for logdaemon style login access control
SYNOPSIS¶
pam_access.so [debug] [nodefgroup] [noaudit] [accessfile=file] [fieldsep=sep] [listsep=sep]
DESCRIPTION¶
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, X $DISPLAY values, or PAM service 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. Then individual *.conf files from the /etc/security/access.d/ directory are read. The files are parsed one after another in the order of the system locale. The effect of the individual files is the same as if all the files were concatenated together in the order of parsing. This means that once a pattern is matched in some file no further files are parsed. If a config file is explicitly specified with the accessfile option the files in the above directory are not parsed.
If Linux PAM is compiled with audit support the module will report when it denies access based on origin (host, tty, etc.).
OPTIONS¶
accessfile=/path/to/access.conf
debug
noaudit
fieldsep=separators
listsep=separators
nodefgroup
MODULE TYPES PROVIDED¶
All module types (auth, account, password and session) are provided.
RETURN VALUES¶
PAM_SUCCESS
PAM_PERM_DENIED
PAM_IGNORE
PAM_ABORT
PAM_USER_UNKNOWN
FILES¶
/etc/security/access.conf
SEE ALSO¶
AUTHORS¶
The logdaemon style login access control scheme was designed and implemented by Wietse Venema. The pam_access PAM module was developed by Alexei Nogin <alexei@nogin.dnttm.ru>. The IPv6 support and the network(address) / netmask feature was developed and provided by Mike Becher <mike.becher@lrz-muenchen.de>.
11/25/2020 | Linux-PAM Manual |