Managing AppArmor service¶
AppArmor is not a regular program that can be installed by users. It is shipped as part of the kernel in selected Linux distributions.
Supported distributions¶
Distributions that include AppArmor:
- Annvix
- Arch Linux
- CentOs
- Debian
- Gentoo
- openSUSE - integrated in default install
- Pardus Linux
- PLD
- Ubuntu - integrated in default install
Any derivatives of these distributions should also have AppArmor available.
Check AppArmor status¶
In many distributions, AppArmor is enabled on system boot (by default), you can check its status by running:
aa-status
apparmor module is loaded.
Enable AppArmor on system boot¶
To enable AppArmor on boot:
sudo systemctl enable apparmor