Configures SELinux into a given state.
- $1 - Desired state.
Allowed states:
disable
: Completely disables SELinux so that no rules will be enforced.
Reconfigures SELinux so that it is disabled.
Examples
wickFormula selinux disable
Returns nothing.
Returns success (0) when SELinux is installed and enabled.
Examples
if selinuxIsEnabled; then
wickWarn "This does not work well with SELinux enabled"
fi
Returns true if it is enabled and it is being enforced.