PAM_TTY_AUDITSection: Linux\-PAM Manual (8)
Index Return to Main Contents
NAMEpam_tty_audit - Enable or disable TTY auditing for specified users
- pam_tty_audit.so [disable=patterns] [enable=patterns]
- For each user matching one of comma-separated glob patterns, disable TTY auditing. This overrides any previous enable option matching the same user name on the command line.
- For each user matching one of comma-separated glob patterns, enable TTY auditing. This overrides any previous disable option matching the same user name on the command line.
- Set the TTY audit flag when opening the session, but do not restore it when closing the session. Using this option is necessary for some services that don't fork() to run the authenticated session, such as sudo.
MODULE TYPES PROVIDED
- Error reading or modifying the TTY audit flag. See the system log for more details.
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.
Audit all administrative actions.
session required pam_tty_audit.so disable=* enable=root
pam_tty_audit was written by Miloslav Trmač <email@example.com>.
- MODULE TYPES PROVIDED
- RETURN VALUES
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 05:34:28 GMT, December 24, 2015