SELinux boolean

An on or off switch in the SELinux policy that enables an optional behaviour, such as letting the web server read home directories.

In more detail

getsebool -a lists them and semanage boolean -l adds a description of each. setsebool changes one for the running system only; with -P the value is also written to the policy on disk and survives a reboot.

Example

setsebool -P httpd_enable_homedirs on

Related terms

Taught in

References

Certification courses