aa-complain

Set an AppArmor policy to complain mode. See also: aa-disable, aa-enforce, aa-status. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-complain.8>.

Install

All systems
curl cmd.cat/aa-complain.sh
Debian Debian
apt-get install apparmor-utils
Ubuntu
apt-get install apparmor-utils
Arch Arch Linux
pacman -S apparmor
image/svg+xml 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

Set an AppArmor policy to complain mode. See also: aa-disable, aa-enforce, aa-status. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-complain.8>.

  • Set policy to complain mode:
    sudo aa-complain path/to/profile
  • Set policies to complain mode:
    sudo aa-complain --dir path/to/profiles

© tl;dr; authors and contributors