Skip to content

Instantly share code, notes, and snippets.

@olivierlemoal
Last active November 14, 2015 11:48
Show Gist options
  • Save olivierlemoal/8ae994f7d5b5ce8581a9 to your computer and use it in GitHub Desktop.
Save olivierlemoal/8ae994f7d5b5ce8581a9 to your computer and use it in GitHub Desktop.
AppArmor quick start
# Gen empty profile :
aa-autodep /usr/sbin/squid3
# Set complain mode
aa-complain /usr/sbin/squid3
# Start
sudo /etc/init.d/squid3 start
# Fill it after a while :
aa-logprof /usr/sbin/squid3
# Set enforce mode
aa-enforce /usr/sbin/squid3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment