This shows you the differences between two versions of the page.

Link to this comparison view

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 to be enabled on the exam**Do NOT disable it permanently**. (Temporarily setting permissive is ok for troubleshooting)
 ---- ----
 +===== 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:
 </code> </code>
 Temporary: Set Permissive (Monitor and Report) Temporary: Set Permissive (Monitor and Report)
 <code bash> <code bash>
Line 25: Line 31:
 </code> </code>
 Temporary: Set SELinux to Enforce Temporary: Set SELinux to Enforce
 <code bash> <code bash>
Line 30: Line 37:
 </code> </code>
 Persistent: SELinux Config File Persistent: SELinux Config File
 <code bash> <code bash>
  • linux_wiki/set_enforcing_and_permissive_modes_for_selinux.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)