1.6.2.1 Ensure AppArmor is enabled in the bootloader configuration - security=apparmor

Information

Configure AppArmor to be enabled at boot time and verify that it has not been overwritten by the bootloader boot parameters.

Rationale:

AppArmor must be enabled at boot time in your bootloader configuration to ensure that the controls it provides are not overridden.

Solution

edit /etc/default/grub and add the appermor=1 and security=apparmor parameters to the GRUB_CMDLINE_LINUX= line

GRUB_CMDLINE_LINUX='apparmor=1 security=apparmor'

update the grub configuration

# update-grub

Additional Information:

This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings.

See Also

https://workbench.cisecurity.org/files/3399

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv6|14.4, CSCv7|14.6

Plugin: Unix

Control ID: 76b2719fe5724699d7baf4e490c59b964e7205edb7d03920d8fec4b6e47be2b2