Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Set Enforcing And Permissive Modes For Selinux ====== **General Information** SELinux is required to be enabled on the exam. **Do NOT disable it permanently**. (Temporarily setting permissive is ok for troubleshooting) ---- ===== SELinux Modes ===== Modes * Enforcing => SELinux is enabled and will restrict. * Permissive => SELinux is enabled and will log only. (Will not actually restrict anything) * Disabled => SELinux is disabled and will not log or restrict. ---- ===== Configure the SELinux Mode ===== Get current SELinux mode <code bash> getenforce OR sestatus </code> \\ Temporary: Set Permissive (Monitor and Report) <code bash> setenforce 0 </code> \\ Temporary: Set SELinux to Enforce <code bash> setenforce 1 </code> \\ Persistent: SELinux Config File <code bash> /etc/selinux/config SELINUX=enforcing </code> ---- linux_wiki/set_enforcing_and_permissive_modes_for_selinux.txt Last modified: 2019/05/25 23:50(external edit)