commands.sh

togglesebool

linux

Flip the current (non-persistent) values of SELinux booleans. Note: This tool has been deprecated and often removed in favor of `setsebool`.

More info →

Examples (2)

Flip the current (non-persistent) values of the specified booleans

sudo togglesebool virt_use_samba|virt_use_usb|...

Flip multiple booleans

sudo togglesebool key1 key2 ...
made by @shridhargupta | data from tldr-pages