0

I am trying to implement pam tty auditing using http://jaredrobinson.com/blog/linux-tty-auditing/ but it is not working for me.

Can some one tell me that any thing else apart from "session required pam_tty_audit.so enable=*" entry in "/etc/pam.d/system-auth" is required to make it work on CentOS 6.4.

To test, I have started a new session with machine. Execute few command and then executed aureport --tty. It should print the command which I have execute but it is not the case i.e

aureport --tty

TTY Report
===============================================
# date time event auid term sess comm data
===============================================
<no events of interest were found>.

1 Answers1

0

The issue is resolved. "session required pam_tty_audit.so enable=*" must be the first line in session section to make it work.