update readme

This commit is contained in:
Marius Pana 2024-01-11 11:25:08 +02:00
parent 4a1e661467
commit d9a0b08344
2 changed files with 8 additions and 1 deletions

BIN
.README.md.un~ Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
# check_mk-check-selinux
check status of 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.