1.6.2.1 Ensure AppArmor is not disabled in bootloader configuration

Information

Configure AppArmor to be enabled at boot time and verify that it has not been overwritten by the bootloader boot parameters. 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 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/1866

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-7(9), CSCv6|14.4

Plugin: Unix

Control ID: ee54257501088fb3ccd57e94610579dec55f427193b9ae83dd178daec974f5e7