Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:selinux [2020/08/25 10:17] – created jslinux:selinux [2020/08/25 10:21] (current) js
Line 3: Line 3:
 <code bash>/usr/sbin/getenforce <code bash>/usr/sbin/getenforce
 Enforcing Enforcing
 +</code>
 +
 +<code bash>/usr/sbin/getenforce
 +Disabled
 </code> </code>
  
Line 13: Line 17:
 Policy from config file:        targeted</code> Policy from config file:        targeted</code>
  
-Or both  +Config file: **/etc/selinux/config** 
-<code>Disabled</code>+ 
 +<code># 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 two values: 
 +#       targeted - Targeted processes are protected, 
 +#       mls - Multi Level Security protection. 
 +SELINUXTYPE=targeted</code>