What audit rule to be added to get USER_TTY record

whether it will record all the executed commands under msg field?


Enable pam_tty_audit, by placing this line in your /etc/pam.d/ files:

session required pam_tty_audit.so disable=bounce enable=root

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.