1.7.1.2 Ensure SELinux is not disabled in bootloader configuration - enforcing = 0

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Configure SELINUX to be enabled at boot time and verify that it has not been overwritten by the grub boot parameters. SELinux must be enabled at boot time in your grub configuration to ensure that the controls it provides are not overridden.

Solution

Edit /etc/default/grub and remove all instances of selinux=0 and enforcing=0 from all CMDLINE_LINUX parameters:

GRUB_CMDLINE_LINUX_DEFAULT='quiet'
GRUB_CMDLINE_LINUX=''

Run the following command to update the grub2 configuration:
# grub2-mkconfig -o /boot/grub2/grub.cfg

See Also

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

Item Details

Category: ACCESS CONTROL, SYSTEM AND INFORMATION INTEGRITY

References: 800-53|AC-3(3), 800-53|SI-7(9), CSCv7|14.6

Plugin: Unix

Control ID: 5502afdc9f0e6d0031727ca17e5a73008b3396b239bf0a0d70c78b63b5bff8e6