mirror-cockpit-project-cockpit/doc/modules/guide/pages/feature-selinux.adoc
Freya Gustavsson bc62cb3709 doc: Restructure prep for Antora support
Antora uses a dedicated folder structure which we need to adhere to for
it to work as it should. Makefiles has moved to `doc/` root to simplify
the approach needed with Antora and AsciiDoctor.

Existing bundling of documentation with help of AsciiDoctor works as
normal and does not interfere with the directory change.

Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
2026-04-10 16:51:46 +02:00

17 lines
480 B
Text

[[feature-selinux]]
= SELinux Policy
If present on the system Cockpit can set the SELinux mode to enforcing
or permissive. It can also use `+setroubleshootd+` to show audit issues
and apply suggested fixes.
To perform similar tasks from the command line use the `+setenforce+`
and `+sealert+` tools.
To clear out all the information that `+setroubleshootd+` tracks, you
can use a commands like:
....
$ sudo killall setroubleshootd
$ sudo rm -rf /var/lib/setroubleshoot/*
....