STIGUI
V-281249CAT II — Medium severitySV-281249r1197242_rule

RHEL 10 must enable the SELinux targeted policy.

Rule version RHEL-10-700400 · STIG v1 · 2026-09-17

Discussion

Setting the SELinux policy to "targeted" or a more specialized policy ensures the system will confine processes that are likely to be targeted for exploitation, such as network or system services.

Note: During the development or debugging of SELinux modules, it is common to temporarily place nonproduction systems in "permissive" mode. In such temporary cases, SELinux policies should be developed, and once work is completed, the system should be reconfigured to "targeted".

Check

Verify RHEL 10 SELINUX is using the targeted policy with the following command:

$ sestatus | grep policy Loaded policy name: targeted

If the loaded policy name is not "targeted", this is a finding.

Fix

Configure RHEL 10 to use the targeted SELINUX policy.

Edit the file "/etc/selinux/config" and add or modify the following line:

SELINUXTYPE=targeted

A reboot is required for the changes to take effect.

Identifiers

Group ID
V-281249
Group title
SRG-OS-000445-GPOS-00199
Rule ID
SV-281249r1197242_rule
Check ID
C-85810r1166697_chk
Fix ID
F-85715r1197241_fix