Disabling SELinux

How to disable SELinux?


  1. Step 1: Open the SELinux configuration file: /etc/selinux/config.
  2. Step 2: Locate the following line:
  3. SELINUX=enforcing
  4. Step 3: Change the value to disabled:
  5. SELINUX=disabled
  6. Step 4: Save your changes and close the file
  7. Step 5: On the next reboot, SELinux is permanently disabled. To dynamically disable it before the reboot, run the following command:
  8. # setenforce 0
Was this article helpful?

Need Support?

Can't find the answer you're looking for?
Contact Support