SV-258078r958944_rule
V-258078
SRG-OS-000445-GPOS-00199
RHEL-09-431010
CAT I
10
Configure RHEL 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.
Ensure that RHEL 9 verifies 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-258078
False
RHEL-09-431010
Ensure that RHEL 9 verifies 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
5551