linux_wiki:use_boolean_settings_to_modify_system_selinux_settings

Differences

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

Link to this comparison view

linux_wiki:use_boolean_settings_to_modify_system_selinux_settings [2016/02/29 22:19]
billdozor created
linux_wiki:use_boolean_settings_to_modify_system_selinux_settings [2019/05/25 23:50]
Line 1: Line 1:
-====== Use Boolean Settings To Modify System Selinux Settings ====== 
- 
-**General Information** 
- 
-About this page/how-to/script.  
- 
----- 
- 
-Show all current SELinux boolean values 
-<code bash> 
-getsebool -a 
-</code> 
- 
-\\ 
-List SELinux boolean current values and default values 
-<code bash> 
-semanage boolean -l 
-</code> 
- 
-\\ 
-Show httpd_enable_homedirs current setting 
-<code bash> 
-semanage boolean -l | grep httpd_enable_home 
-</code> 
- 
-\\ 
-Temporary: Change boolean selinux value 
-<code bash> 
-setsebool httpd_enable_homedirs on 
-</code> 
- 
-\\ 
-Persistent: Change boolean selinux value 
-<code bash> 
-setsebool -P httpd_enable_homedirs on 
-</code> 
- 
----- 
  
  • linux_wiki/use_boolean_settings_to_modify_system_selinux_settings.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)