auditctl

Control the Linux audit system

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
auditctl -lReview existing rules first
What it does

Add, list and delete kernel audit rules.

Common flags
FlagMeaning
-lList rules
-wWatch a file
-DDelete all rules
-e 2Lock configuration (immutable until reboot)
Examples
auditctl -lList rules · explain & risk-check →
auditctl -w /etc/passwd -p wa -k passwdWatch writes to /etc/passwd · explain & risk-check →
Related
ausearch journalctl
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man auditctl for your version. Test destructive commands on a non-production system first.