From Fedora Project Wiki

Revision as of 19:09, 15 August 2015 by Agajan (talk | contribs) (added category SELinux)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

setenforce(1)         SELinux Command Line documentation         setenforce(1)

NAME
setenforce - modify the mode SELinux is running in.

SYNOPSIS
setenforce [ Enforcing | Permissive | 1 | 0 ] 

DESCRIPTION
Use Enforcing or 1 to put SELinux in enforcing mode.  Use Permissive or
0 to put SELinux in permissive mode.  You need to modify /etc/grub.conf
or /etc/selinux/config to disable SELinux.

AUTHOR
Dan Walsh, <dwalsh@redhat.com>

SEE ALSO
getenforce(8), selinuxenabled(8)

FILES
/etc/grub.conf, /etc/selinux/config

dwalsh@redhat.com                7 April 2004                    setenforce(1)