Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:set_enforcing_and_permissive_modes_for_selinux [2016/02/29 22:16] billdozor created |
linux_wiki:set_enforcing_and_permissive_modes_for_selinux [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/how-to/script. | + | SELinux is required |
---- | ---- | ||
+ | |||
+ | ===== SELinux Modes ===== | ||
Modes | Modes | ||
Line 12: | Line 14: | ||
* Disabled => SELinux is disabled and will not log or restrict. | * Disabled => SELinux is disabled and will not log or restrict. | ||
- | \\ | + | ---- |
+ | |||
+ | ===== Configure the SELinux Mode ===== | ||
Get current SELinux mode | Get current SELinux mode | ||
<code bash> | <code bash> | ||
Line 20: | Line 25: | ||
</ | </ | ||
+ | \\ | ||
Temporary: Set Permissive (Monitor and Report) | Temporary: Set Permissive (Monitor and Report) | ||
<code bash> | <code bash> | ||
Line 25: | Line 31: | ||
</ | </ | ||
+ | \\ | ||
Temporary: Set SELinux to Enforce | Temporary: Set SELinux to Enforce | ||
<code bash> | <code bash> | ||
Line 30: | Line 37: | ||
</ | </ | ||
+ | \\ | ||
Persistent: SELinux Config File | Persistent: SELinux Config File | ||
<code bash> | <code bash> |