getsebool -a

Category: Security & Hardening

getsebool -a

List all SELinux booleans and their state

Prints every SELinux boolean with on or off, showing which policy switches are currently enabled. Use it to find the boolean behind a blocked service, for example httpd_can_network_connect. Flip one with setsebool -P <name> 1.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.