1. Home
  2. Security Hardening
  3. CIS Debian 8 Server L2 V2.0.2
  4. Ensure AppArmor is enabled in the bootloader configuration – apparmor=1

Ensure AppArmor is enabled in the bootloader configuration – apparmor=1

Details

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.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Access Control, Media Protection.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles