LinuxCommandLibrary

semanage-boolean

Manage persistent SELinux boolean settings.

TLDR

List all booleans settings

$ sudo semanage boolean [-l|--list]
copy


List all user-defined boolean settings without headings
$ sudo semanage boolean [-l|--list] [-C|--locallist] [-n|--noheading]
copy


Set or unset a boolean persistently
$ sudo semanage boolean [-m|--modify] [-1|--on|-0|--off] [haproxy_connect_any]
copy

Copied to clipboard