audit rule

A line that tells the Linux audit system what to record, such as every execve call by a logged-in user or every write to /etc/shadow.

In more detail

A -a always,exit rule with -S execve records every program run; a -w rule watches a file for writes (-p wa). -k adds a key, such as identity or priv, to search by. -e 2 locks the rules until reboot so an intruder cannot quietly remove them.

Related terms

Taught in

References