====== Use Boolean Settings To Modify System Selinux Settings ======
**General Information**
Don't forget to check SELinux boolean values on the exam if something is allowing access!
----
===== Viewing Boolean Values =====
Show all current SELinux boolean values
getsebool -a
\\
List SELinux boolean current values and default values
semanage boolean -l
\\
Show httpd_enable_homedirs current setting
semanage boolean -l | grep httpd_enable_home
----
===== Setting Boolean Values =====
Temporary: Change boolean selinux value
setsebool httpd_enable_homedirs on
\\
Persistent: Change boolean selinux value
setsebool -P httpd_enable_homedirs on
OR
semanage boolean -m --on httpd_enable_homedirs
----