Skip to content

Instantly share code, notes, and snippets.

@tashiscool
Created January 30, 2019 03:20
Show Gist options
  • Save tashiscool/ecb6eef4cfbc8b477fb2b60f28aca304 to your computer and use it in GitHub Desktop.
Save tashiscool/ecb6eef4cfbc8b477fb2b60f28aca304 to your computer and use it in GitHub Desktop.
echo '' >/var/log/audit/audit.log # (it would be better to rotate it here, but you get the idea)
setenforce 0
# Do whatever I want to be able to do...
setenforce 1
sealert -a /var/log/audit/audit.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment