To translate between the descriptions shown in the graphical Security Level Configuration tool and the boolean names used by
unlimitedUtils _('Admin') _('Allow privileged utilities like hotplug and insmod to run unconfined.')
unlimitedRC _('Admin') _('Allow rc scripts to run unconfined, including any daemon started by an rc script that does not have a domain transition explicitly defined.')
unlimitedRPM _('Admin') _('Allow rpm to run unconfined.')
staff_read_sysadm_file _('Admin') _('Allow staff_r users to search the sysadm home dir and read files (such as ~/.bashrc)')
direct_sysadm_daemon _('Admin') _('Allow sysadm_t to directly start daemons')
...(Lines snipped)...
Each line consists of the boolean name used by
Use
$ cd /usr/share/system-config-securitylevel
$ grep
httpd_enable_cgi _('HTTPD Service') _('Allow HTTPD cgi support')
httpd_can_network_connect _('HTTPD Service') _('Allow HTTPD scripts and modules to connect to the network.')
httpd_enable_homedirs _('HTTPD Service') _('Allow HTTPD to read home directories')
httpd_ssi_exec _('HTTPD Service') _('Allow HTTPD to run SSI executables in the same domain as system CGI scripts.')
httpd_builtin_scripting _('HTTPD Service') _('Allow HTTPD to support built-in scripting')
httpd_disable_trans _('HTTPD Service') _('Disable SELinux protection for httpd daemon')
httpd_suexec_disable_trans _('HTTPD Service') _('Disable SELinux protection for http suexec')
httpd_unified _('HTTPD Service') _('Unify HTTPD handling of all content files.')
httpd_tty_comm _('HTTPD Service') _('Unify HTTPD to communicate with the terminal. Needed for handling certificates.')
$ grep
ftp_home_dir _('FTP') _('Allow ftp to read/write files in the user home directories')
$ grep
unlimitedRPM _('Admin') _('Allow rpm to run unconfined.')
Table 8-1 contains some of the most commonly altered SELinux booleans.
Table 8-1. Commonly altered SELinux booleans
Boolean name | Description in system-config-securitylevel | Reason for altering | Default value |
---|---|---|---|
allow_ptrace | Allow | Permit | Off |
allow_execmod | Allow the use of shared libraries with Text Relocation. | Required to use Adobe Flash browser plug-in and Sun Java. | Off |
allow_ftp_anon_write | Permits the FTP server to write to files labeled with type public_content_rw_t, described in Table 8-2. | Off | |
httpd_can_network_connect | Allow | Enables web scripts to connect to databases and mail servers. | Off |
httpd_enable_homedirs | Allow | Enables the use of | Off |
httpd_tty_comm | Unify | Enables the use of certificates with passphrases (requires the passphrase to be entered on the terminal). | Off |