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] [noaudit] [nodefgroup] [nodns] [quiet_log] [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 or, if that one is not present, the file /usr/etc/security/access.conf. These settings can be overruled by setting in a config file explicitly specified with the accessfile option. Then individual *.conf files from the /etc/security/access.d/ and /usr/etc/security/access.d directories are read. If /etc/security/access.d/@filename@.conf exists, then /usr/etc/security/access.d/@filename@.conf will not be used. All access.d/*.conf files are sorted by their @filename@.conf in lexicographic order regardless of which of the directories they reside in. 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 directories 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
nodefgroup
nodns
quiet_log
fieldsep=separators
listsep=separators
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
/usr/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>.
12/05/2024 | Linux-PAM |