SV-271452r1091068_rule
V-271452
SRG-OS-000445-GPOS-00199
OL09-00-000060
CAT I
10
Configure OL 9 to verify correct operation of security functions.
Edit the file "/etc/selinux/config" and add or modify the following line:
SELINUX=enforcing
A reboot is required for the changes to take effect.
Verify that OL 9 enforces the correct operation of security functions through the use of SELinux with the following command:
$ getenforce
Enforcing
If SELINUX is not set to "Enforcing", this is a finding.
Verify that SELinux is configured to be enforcing at boot.
$ grep "SELINUX=" /etc/selinux/config
# SELINUX= can take one of these three values:
# NOTE: In earlier Fedora kernel builds, SELINUX=disabled would also
SELINUX=enforcing
If SELINUX line is missing, commented out, or not set to "enforcing", this is a finding.
V-271452
False
OL09-00-000060
Verify that OL 9 enforces the correct operation of security functions through the use of SELinux with the following command:
$ getenforce
Enforcing
If SELINUX is not set to "Enforcing", this is a finding.
Verify that SELinux is configured to be enforcing at boot.
$ grep "SELINUX=" /etc/selinux/config
# SELINUX= can take one of these three values:
# NOTE: In earlier Fedora kernel builds, SELINUX=disabled would also
SELINUX=enforcing
If SELINUX line is missing, commented out, or not set to "enforcing", this is a finding.
M
5680