Ensure SELinux policy is configured (Scored)

Level 2 - Server 
Level 2 - Workstation

Configure SELinux to meet or exceed the default targeted policy, which constrains daemons and system software only.

Security configuration requirements vary from site to site. Some sites may mandate a policy that is stricter than the default policy, which is perfectly acceptable. This item is intended to ensure that at least the default recommendations are met.

Run the following commands and ensure output matches either “targeted” or “mls”:

# grep SELINUXTYPE=targeted /etc/selinux/config 

# sestatus 
Loaded policy name: targeted

Edit the /etc/selinux/config file to set the SELINUXTYPE parameter:


If your organization requires stricter policies, ensure that they are set in the /etc/selinux/config file.