Temporarily disable SELinux

You can use the setenforce command to enable or disable SELinux temporarily.

To disable SELinux:

setenforce 0

To enable SELinux:

setenforce 1

To see the current status, run

getenforce

Temporarily disable SELinux
Share this