Control SELinux - Set Enforcing Mode | Online Free DevTools by Hexmos

Control SELinux mode with the setenforce command. Switch between enforcing and permissive modes easily for enhanced security. Free online tool, no registration required.

setenforce

Toggle SELinux between enforcing and permissive modes. To enable or disable SELinux, edit /etc/selinux/config instead. See also: getenforce, semanage-permissive. More information: https://manned.org/setenforce.

  • Put SELinux in enforcing mode:

setenforce {{1|Enforcing}}

  • Put SELiunx in permissive mode:

setenforce {{0|Permissive}}