SELinux Utilities
The following table describes the main utilities that you can use to administer SELinux and the packages that contain them.
Utility | Package | Description |
---|---|---|
|
|
Generates SELinux policy |
|
|
Generates SELinux policy |
|
|
Displays statistics for the SELinux Access Vector Cache (AVC). |
|
|
Changes or removes the security category for a file or user. |
|
|
Changes the SELinux context of files and directories. |
|
|
Fixes the security context for file systems. |
|
|
Reports the current SELinux mode. |
|
|
Reports SELinux Boolean values. |
|
|
Loads a new SELinux policy into the kernel. |
|
|
Queries the system policy and displays the default security context that's associated with the file path. |
|
|
Resets the security context on one or more files. |
|
|
Daemon that watches for file creation and sets the default file context. |
|
|
Runs a command within the specified context. |
|
|
Runs a command within an SELinux sandbox. |
|
|
Acts as the user interface to the |
|
|
Checks SELinux policies. |
|
|
Displays the SELinux context from a file, program, or user input. |
|
|
Compares SELinux polices. |
|
|
Queries SELinux policies. |
|
|
Displays all SELinux contexts that are reachable by a user. |
|
|
Displays the default SELinux context for a user. |
|
|
Indicates whether SELinux is enabled. |
|
|
Manages SELinux policies. |
|
|
Manages SELinux policy modules. |
|
|
Displays the dependencies between SELinux policy packages. |
|
|
Expands a SELinux policy module package. |
|
|
Links SELinux policy module packages together. |
|
|
Creates a SELinux policy module package. |
|
|
Queries SELinux policies. |
|
|
Displays the SELinux mode and the SELinux policy that are in use. |
|
|
Changes the SELinux mode. |
|
|
Sets SELinux Boolean values. |
|
|
Sets the security context for one or more files. |