setenforce
modify the mode SELinux is running in
- Provided by: selinux-utils (Version: 3.3-1build2)
- Source: libselinux
- Report a bug
modify the mode SELinux is running in
setenforce [Enforcing|Permissive|1|0]
Use Enforcing or 1 to put SELinux in enforcing mode.
Use Permissive or 0 to put SELinux in permissive mode.
If SELinux is disabled and you want to enable it, or SELinux is enabled and you want to disable it, please see selinux(8).
Dan Walsh, <dwalsh@redhat.com>