2013-05-10 12:45:17 +00:00
|
|
|
.TH "setenforce" "8" "7 April 2004" "dwalsh@redhat.com" "SELinux Command Line documentation"
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "NAME"
|
2012-11-13 20:15:34 +00:00
|
|
|
setenforce \- modify the mode SELinux is running in
|
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "SYNOPSIS"
|
2012-11-13 20:15:34 +00:00
|
|
|
.B setenforce
|
|
|
|
.RB [ Enforcing | Permissive | 1 | 0 ]
|
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "DESCRIPTION"
|
2012-11-13 20:15:34 +00:00
|
|
|
Use
|
|
|
|
.B Enforcing
|
|
|
|
or
|
|
|
|
.B 1
|
|
|
|
to put SELinux in enforcing mode.
|
2011-12-19 19:13:35 +00:00
|
|
|
.br
|
2012-11-13 20:15:34 +00:00
|
|
|
Use
|
|
|
|
.B Permissive
|
|
|
|
or
|
|
|
|
.B 0
|
|
|
|
to put SELinux in permissive mode.
|
2011-12-19 19:13:35 +00:00
|
|
|
|
|
|
|
If SELinux is disabled and you want to enable it, or SELinux is enabled and you want to disable it, please see
|
2012-11-13 20:15:34 +00:00
|
|
|
.BR selinux (8).
|
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH AUTHOR
|
|
|
|
Dan Walsh, <dwalsh@redhat.com>
|
2012-11-13 20:15:34 +00:00
|
|
|
.
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "SEE ALSO"
|
2012-11-13 20:15:34 +00:00
|
|
|
.BR selinux (8),
|
|
|
|
.BR getenforce (8),
|
|
|
|
.BR selinuxenabled (8)
|