Disable Selinux Temporarily

Run through these steps to disable SeLinux:

  1. Log in to your server.
  2. Check the current SELinux status, run: sestatus.
  3. To disable SELinux on CentOS 7 temporarily, run: sudo setenforce 0.
  4. Edit the /etc/selinux/config file and set the SELINUX to disabled.
  5. Reboot the Linux server.
Top Bottom