1.6.2.1 Ensure AppArmor is not disabled in bootloader configuration

Information

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

Error, bootloader not found in the following locations:

/boot/grub/grub.conf
/boot/grub/grub.cfg
/boot/grub/menu.lst
/boot/grub2/grub.conf
/boot/grub2/grub.cfg
/boot/grub2/menu.lst

Solution

For grub based systems edit /boot/grub/menu.lst and remove all instances of apparmor=0 on all kernel lines.

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: ACCESS CONTROL, SYSTEM AND INFORMATION INTEGRITY

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

Plugin: Unix

Control ID: bc6f70d41c26bde0697580e546e6261cd5f1a0f8db92f25ac2973d7afa7b35da