AppArmor profiles define what resources applications are able to access.
To set all profiles to either enforce
or complain
mode
run the following command to set all profiles to enforce
mode:
$ sudo aa-enforce /etc/apparmor.d/*
run the following command to set all profiles to complain
mode:
$ sudo aa-complain /etc/apparmor.d/*
To list unconfined processes run the following command:
$ sudo aa-unconfined
Any unconfined processes may need to have a profile created or activated
for them and then be restarted.