Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
linux_wiki:list_and_identify_selinux_file_and_process_context [2016/02/29 22:16] billdozor created |
linux_wiki:list_and_identify_selinux_file_and_process_context [2018/04/29 23:21] billdozor [Install SELinux Man Pages] |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/ | + | Viewing selinux contexts. |
---- | ---- | ||
+ | |||
+ | ===== About Context Labels ===== | ||
Three parts of a context label | Three parts of a context label | ||
Line 12: | Line 14: | ||
* **Type** => Ends in " | * **Type** => Ends in " | ||
- | \\ | + | ---- |
+ | |||
+ | ===== Viewing Context Labels ===== | ||
List selinux context | List selinux context | ||
<code bash> | <code bash> | ||
Line 37: | Line 42: | ||
</ | </ | ||
* " | * " | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install SELinux Man Pages ===== | ||
+ | |||
+ | While not part of an objective, being able to do this could help you on the examine if you are not sure what SELinux context to apply. | ||
+ | |||
+ | \\ | ||
+ | To install application specific SELinux man pages... | ||
+ | |||
+ | * Check to see how many SELinux specific man pages are available< | ||
+ | * If there are only a few, you need to install them. | ||
+ | * sepolicy is the command needed to install, check what provides that< | ||
+ | * Install the required package< | ||
+ | * Install the SELinux man pages< | ||
+ | * Update the man database< | ||
+ | * Check to ensure the new pages exist< | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Install SEInfo Utility ===== | ||
+ | |||
+ | seinfo is a useful tool to discover available context types (among other things). | ||
+ | |||
+ | See what package provides it<code bash>yum provides / | ||
+ | |||
+ | Install the package< | ||
+ | |||
+ | View all the context types that are nfs related< | ||
---- | ---- | ||