Technology Insights

How to Turn Off SELinux on a CentOS Server

Follow the below directions to turn off selinux on a CentOS server. SeLinux can cause many issues and if your server is behind a properly configured firewall as well as the systems administrator only opens necessary ports that are configured properly your risks should be minimal.

  1. Modify selinux Configuration:Modify the selinux config file by issuing the command below and changing the SELINUX option to disabled as shown below.
  2. bash

    1. [root@server ~]#vi /etc/selinux/config