Only the session type is supported.
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.
Audit all administrative actions.
session required pam_tty_audit.so disable=* enable=root
aureport(8), pam.conf(5), pam.d(5), pam(8)
pam_tty_audit was written by Miloslav Trmač <email@example.com>. The log_passwd option was added by Richard Guy Briggs <firstname.lastname@example.org>.