LinuxCommandLibrary

getsebool

Get SELinux boolean value.

TLDR

Show the current setting of a boolean

$ getsebool [httpd_can_connect_ftp]
copy


Show the current setting of [a]ll booleans
$ getsebool -a
copy


Show the current setting of all booleans with explanations
$ sudo semanage boolean [-l|--list]
copy

Copied to clipboard