| 1 |
[[feature-selinux]] |
| 2 |
= SELinux Policy |
| 3 |
|
| 4 |
If present on the system Cockpit can set the SELinux mode to enforcing |
| 5 |
or permissive. It can also use `+setroubleshootd+` to show audit issues |
| 6 |
and apply suggested fixes. |
| 7 |
|
| 8 |
To perform similar tasks from the command line use the `+setenforce+` |
| 9 |
and `+sealert+` tools. |
| 10 |
|
| 11 |
To clear out all the information that `+setroubleshootd+` tracks, you |
| 12 |
can use a commands like: |
| 13 |
|
| 14 |
.... |
| 15 |
$ sudo killall setroubleshootd |
| 16 |
$ sudo rm -rf /var/lib/setroubleshoot/* |
| 17 |
.... |