setsebool
Set SELinux boolean value. See also:
semanage boolean,getsebool. More information: https://manned.org/setsebool.
- Show the current setting of [a]ll booleans:
getsebool -a
- Set or unset a boolean temporarily (non-persistent across reboot):
sudo setsebool
- Set or unset a boolean [P]ersistently:
sudo setsebool -P
- Set or unset multiple booleans at once [P]ersistently:
sudo setsebool -P
- Set or unset a boolean persistently (alternative method using
semanage-boolean):
sudo semanage boolean
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
