Dennis Gilmore wrote:
On Wednesday 17 December 2008 02:43:49 pm Michael DeHaan wrote:
Well, we could check sestatus for disabled.
FWIW, a bit easier: /usr/sbin/selinuxenabled returns 0 if enabled.
Just found out about that recently :)
or /usr/sbin/getenforce will tell you if its in enforcing, permissive or
disabled
Dennis
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel
Yeah what I meant was the software needs to know when to apply context
based on whether it's enabled/disabled, not whether it's enforcing, to
cover use cases of "trying out in permissive, now switch it".
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel