SELinux is based on the least level of access required for a service to run. Services can be run in a variety of ways; therefore, you need to specify how you run your services. Use the following Booleans to set up SELinux:
- When enabled, this Boolean allows users to connect to MySQL.
- When enabled, this Boolean allows the
eximmailer to initiate connections to a database server.
- When enabled, this Boolean allows
ftpdaemons to initiate connections to a database server.
- Enabling this Boolean is required for a web server to communicate with a database server.
Due to the continuous development of the SELinux policy, the list above might not contain all Booleans related to the service at all times. To list them, run the following command as root:
semanage boolean -l | grep service_name