From 27915ec2aa7368d750a5b14e61e17c4a165185ac Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Mon, 19 Dec 2011 14:13:35 -0500 Subject: [PATCH] libselinux: Fix setenforce man page to refer to selinux man page Do not talk about disabling selinux in the setenforce man page. Point people in the right direction instead. Signed-off-by: Eric Paris Acked-by: Dan Walsh --- libselinux/man/man8/setenforce.8 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libselinux/man/man8/setenforce.8 b/libselinux/man/man8/setenforce.8 index 8a010d6e..639883e9 100644 --- a/libselinux/man/man8/setenforce.8 +++ b/libselinux/man/man8/setenforce.8 @@ -6,18 +6,14 @@ setenforce \- modify the mode SELinux is running in. .SH "DESCRIPTION" Use Enforcing or 1 to put SELinux in enforcing mode. +.br Use Permissive or 0 to put SELinux in permissive mode. -You need to modify -.I /etc/grub.conf -or -.I /etc/selinux/config -to disable SELinux. + +If SELinux is disabled and you want to enable it, or SELinux is enabled and you want to disable it, please see +.B selinux(8). .SH AUTHOR Dan Walsh, .SH "SEE ALSO" selinux(8), getenforce(8), selinuxenabled(8) - -.SH FILES -/etc/grub.conf, /etc/selinux/config