Created
January 30, 2019 03:20
-
-
Save tashiscool/ecb6eef4cfbc8b477fb2b60f28aca304 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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