aa-enforce
Set an AppArmor profile to enforce mode. See also: aa-complain, aa-disable, aa-status. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-enforce.8>.
Install
- All systems
-
curl cmd.cat/aa-enforce.sh
- Debian
-
apt-get install apparmor-utils
- Ubuntu
-
apt-get install apparmor-utils
- Arch Linux
-
pacman -S apparmor
- Kali Linux
-
apt-get install apparmor-utils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install apparmor-utils
- Raspbian
-
apt-get install apparmor-utils
- Dockerfile
- dockerfile.run/aa-enforce
Set an AppArmor profile to enforce mode. See also: aa-complain, aa-disable, aa-status. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-enforce.8>.
-
Enable profile:
sudo aa-enforce path/to/profile
-
Enable profiles:
sudo aa-enforce --dir path/to/profile
© tl;dr; authors and contributors