Hello, Last week I was studying for the RHCSE certification, and I couldn't find how to change SELinux's status from enforcing to permissive in the man pages. This patch updates the relevant man pages.
- Switching emails I emailed Daniel Walsh, the man page author, and he connected me to Petr Lautrbach, who sent me to this mailing list (via my work email). The maintainer, Stephen Smalley, said I should remove my company's legal blurb at the end of the email, and the email folks at my work (Acxiom Corp), said it would be better to use my personal email anyway. - Patch format I hope the patch is formatted correctly. I tried to follow the notes on the wiki ( https://github.com/SELinuxProject/selinux/wiki/Contributing#contributing-code ) and I used a StackOverflow link ( https://stackoverflow.com/a/3418499/2958070 ) to generate the patchfile. Thanks, Benjamin Kane
diff --git a/libselinux/man/man8/getenforce.8 b/libselinux/man/man8/getenforce.8 index 70b9921..83bf132 100644 --- a/libselinux/man/man8/getenforce.8 +++ b/libselinux/man/man8/getenforce.8 @@ -15,4 +15,5 @@ Dan Walsh, <dwa...@redhat.com> .SH "SEE ALSO" .BR selinux (8), .BR setenforce (8), -.BR selinuxenabled (8) +.BR selinuxenabled (8), +.BR sestatus (8) diff --git a/libselinux/man/man8/setenforce.8 b/libselinux/man/man8/setenforce.8 index 702041d..b6d2c13 100644 --- a/libselinux/man/man8/setenforce.8 +++ b/libselinux/man/man8/setenforce.8 @@ -29,3 +29,4 @@ Dan Walsh, <dwa...@redhat.com> .BR selinux (8), .BR getenforce (8), .BR selinuxenabled (8) +.BR sestatus (8) diff --git a/policycoreutils/sestatus/sestatus.8 b/policycoreutils/sestatus/sestatus.8 index a89c53f..fea1669 100644 --- a/policycoreutils/sestatus/sestatus.8 +++ b/policycoreutils/sestatus/sestatus.8 @@ -73,7 +73,9 @@ Display the current state of booleans. This man page was written by Daniel Walsh <dwa...@redhat.com>. .br The program was written by Chris PeBenito <peben...@gentoo.org> - +. .SH "SEE ALSO" -.BR selinux "(8), " sestatus.conf "(5) - +.BR selinux (8), +.BR sestatus.conf (5), +.BR setenforce (8), +.BR getenforce (8)