Skip to content

Instantly share code, notes, and snippets.

@lemenkov
Created March 23, 2024 10:43
Show Gist options
  • Save lemenkov/9f7b3a89eefed36ade03c3a4d315dc99 to your computer and use it in GitHub Desktop.
Save lemenkov/9f7b3a89eefed36ade03c3a4d315dc99 to your computer and use it in GitHub Desktop.
Generate selinux
setenforce 0
# run what you need
setenforce 1
cat /var/log/audit/audit.log | audit2allow -a -M benoitb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment