11 lines
467 B
Markdown
11 lines
467 B
Markdown
# check_mk-check-selinux
|
|
|
|
Check status of selinux based on the output of the sestatus command.
|
|
|
|
## SELinux reference
|
|
The following (link)[https://github.com/SELinuxProject/selinux/blob/97fa708d867ecb26e8d1c766760947f8e3b9e59a/policycoreutils/sestatus/sestatus.c#L4] defines the output of the sestatus command.
|
|
|
|
## State of booleans
|
|
sestatus accepts a -b flag which display the state of all selinux booleans. This is not covered but may be of interest in the future.
|
|
|