Last active
November 14, 2015 11:48
-
-
Save olivierlemoal/8ae994f7d5b5ce8581a9 to your computer and use it in GitHub Desktop.
AppArmor quick start
This file contains hidden or 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
# 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