1. Home
  2. Security Hardening
  3. CIS Amazon Linux V2.1.0 L2
  4. Ensure SELinux is not disabled in bootloader configuration – enforcing = 0

Ensure SELinux is not disabled in bootloader configuration – enforcing = 0

Details

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

Solution

Edit /boot/grub/menu.lst and remove all instances of selinux=0 and enforcing=0 on all kernel lines. Notes – 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.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles