Sep 13, 2018

How to Enable or Disable SELinux on CentOS

If it shows "Enforcing", try
setenforce 0


From the command line, you can edit the /etc/sysconfig/selinux file. This file is a symlink to /etc/selinux/config. The configuration file is self-explanatory. Changing the value of SELINUX or SELINUXTYPE changes the state of SELinux and the name of the policy to be used the next time the system boots.