I just checked to see if SELINUX was enabled on my server like this
[root@fedora ~]# getenforce Disabled
However, when I look at the
/etc/selinux/config file I see this
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=enforcing # SELINUXTYPE= can take one of these three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are pr$ # mls - Multi Level Security protection. SELINUXTYPE=targeted
How do I making it so SELINUX actually sets to enforcing? Preferably without rebooting the server.
When I run
[root@fedora ~]# setenforce 1 I get this message
setenforce: SELinux is disabled
And SELINUX remains disabled.