Skip to content

Instantly share code, notes, and snippets.

@fnzv
Created May 15, 2018 07:50
Show Gist options
  • Save fnzv/c3c866c37ebe28e75267ce910a75e35e to your computer and use it in GitHub Desktop.
Save fnzv/c3c866c37ebe28e75267ce910a75e35e to your computer and use it in GitHub Desktop.
Monitoring file changes with auditd
apt-get install auditd
auditctl -w <path to the file you need to monitor> -p war -k test
# Compare file changes
ausearch -ts today -k test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment