Sodamhan.com

TL;DR

getsebool

Get SELinux boolean value. See also: semanage-boolean, setsebool. More information: https://manned.org/getsebool.

  • Show the current setting of a boolean:

getsebool httpd_can_connect_ftp

  • Show the current setting of all booleans:

getsebool -a

  • Show the current setting of all booleans with explanations:

sudo semanage boolean -l|--list

This document was created using the contents of the tldr project.