table of contents
PAM_TTY_AUDIT(8) | Linux-PAM Manual | PAM_TTY_AUDIT(8) |
NAME¶
pam_tty_audit - Enable or disable TTY auditing for specified users
SYNOPSIS¶
pam_tty_audit.so [disable=patterns] [enable=patterns]
DESCRIPTION¶
The pam_tty_audit PAM module is used to enable or disable TTY auditing. By default, the kernel does not audit input on any TTY.
OPTIONS¶
disable=patterns
enable=patterns
open_only
log_passwd
MODULE TYPES PROVIDED¶
Only the session type is supported.
RETURN VALUES¶
PAM_SESSION_ERR
PAM_SUCCESS
NOTES¶
When TTY auditing is enabled, it is inherited by all processes started by that user. In particular, daemons restarted by an user will still have TTY auditing enabled, and audit TTY input even by other users unless auditing for these users is explicitly disabled. Therefore, it is recommended to use disable=* as the first option for most daemons using PAM.
To view the data that was logged by the kernel to audit use the command aureport --tty.
EXAMPLES¶
Audit all administrative actions.
session required pam_tty_audit.so disable=* enable=root
SEE ALSO¶
AUTHOR¶
pam_tty_audit was written by Miloslav Trmač <mitr@redhat.com>. The log_passwd option was added by Richard Guy Briggs <rgb@redhat.com>.
03/22/2017 | Linux-PAM Manual |