4.5 Activate AppArmor - profiles are loaded


AppArmor provides a Mandatory Access Control (MAC) system that greatly augments the default Discretionary Access Control (DAC) model. For an action to occur, both the traditional DAC permissions must be satisfied as well as the AppArmor MAC rules. The action will not be allowed if either one of these models does not permit the action. In this way, AppArmor rules can only make a system's permissions more restrictive and secure.


Install apparmor and apparmor-utils if missing (additional profiles can be found in the apparmor-profiles package)- # apt-get install apparmor apparmor-profiles apparmor-utils Add apparmor=1 and security=apparmor to GRUB_CMDLINE_LINUX in /etc/default/grub- GRUB_CMDLINE_LINUX='apparmor=1 security=apparmor' Update grub configuration (reboot will be required to apply changes)- # update-grub Set all profiles to enforce mode- # aa-enforce /etc/apparmor.d/* Any unconfined processes may need to have a profile created or activated for them and then be restarted.

See Also


Item Details


References: 800-53|AC-3(3)

Plugin: Unix

Control ID: 9a52b78ccbd235ea94aa0e1d50adb5003bbce8ccdf74d2b9cf2d5df458bcbb72