Heyward Fann has a tweet pointing out a blog post by Vivek Gite showing how to use the Linux’s audit feature:
https://twitter.com/fannheyward/status/664009857998200833
The article is from 2007 so “modern” Linux is defined as 2.6.x, but I think advice is still useful with current Linux…
[…] Modern Linux kernel (2.6.x) comes with auditd daemon. It’s responsible for writing audit records to the disk. During startup, the rules in /etc/audit.rules are read by this daemon. You can open /etc/audit.rules file and make changes such as setup audit file log location and other option. The default file is good enough to get started with auditd. In order to use audit facility you need to use following utilities
=> auditctl – a command to assist controlling the kernel’s audit system. You can get status, and add or delete rules into kernel audit system. Setting a watch on a file is accomplished using this command:
=> ausearch – a command that can query the audit daemon logs based for events based on different search criteria.
=> aureport – a tool that produces summary reports of the audit system logs.
[…]
http://www.cyberciti.biz/tips/linux-audit-files-to-see-who-made-changes-to-a-file.html
