linux_wiki:use_boolean_settings_to_modify_system_selinux_settings

This is an old revision of the document!


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!


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

Temporary: Change boolean selinux value

setsebool httpd_enable_homedirs on


Persistent: Change boolean selinux value

setsebool -P httpd_enable_homedirs on

  • linux_wiki/use_boolean_settings_to_modify_system_selinux_settings.1457216441.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)