1.6.2.1 Ensure AppArmor is not disabled in bootloader configuration - /boot/grub2/grub.cfg apparmor=0

Information

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

Solution

For grub2 based systems edit /etc/default/grub and remove all instances of apparmor=0 from all CMDLINE_LINUX parameters:
GRUB_CMDLINE_LINUX_DEFAULT='quiet'
GRUB_CMDLINE_LINUX=''

Run the following command to update the grub2 configuration:
# update-grub

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-7, CSCv6|14.4

Plugin: Unix

Control ID: bc6f70d41c26bde0697580e546e6261cd5f1a0f8db92f25ac2973d7afa7b35da