Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 612 Bytes

README.md

File metadata and controls

34 lines (18 loc) · 612 Bytes

SELinux

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.

selinuxIsEnabled()

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.