thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Systems & Data Center · Advanced

SELinux Boolean

An on/off SELinux policy switch that enables optional behaviors without writing custom policy.

Definition

Booleans are listed with getsebool -a and set with setsebool; -P makes the change persistent. Examples include httpd_can_network_connect and httpd_enable_homedirs.

Example

setsebool -P httpd_can_network_connect_db on allows Apache to connect to a remote database.

Exam tip

Forgetting -P means the boolean reverts at reboot.

Related terms