Ubuntu - Auditing - Audit a file

WARNING: Please be careful before creating rules.

It will increase your log file size significantly if too much information to record.


Audit file access

sudo auditctl -w /etc/passwd -p rwxa