ALMA-09-045230 - AlmaLinux OS 9 must enable the SELinux targeted policy.

Information

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".

Solution

Configure AlmaLinux OS 9 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.

See Also

https://workbench.cisecurity.org/benchmarks/0

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-6a., CAT|II, CCI|CCI-002696, Rule-ID|SV-269455r1050338_rule, STIG-ID|ALMA-09-045230, Vuln-ID|V-269455

Plugin: Unix

Control ID: b0439fab8fcee00fd0f04939a69c419c170487cc678ac579369d77b8eb28a2a9