setenforce, {get,set}sebool, semanage-{boolean,port,permissive}: add page (#12834)

Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
cyqsimon
2024-05-27 02:28:37 +08:00
committed by GitHub
parent c476e22061
commit 1c4f439791
8 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# semanage boolean
> Manage persistent SELinux boolean settings.
> See also: `semanage` for managing SELinux policies, `getsebool` for checking boolean values, and `setsebool` for applying non-persistent boolean settings.
> More information: <https://manned.org/man/semanage-boolean>.
- List all booleans settings:
`sudo semanage boolean {{-l|--list}}`
- List all user-defined boolean settings without headings:
`sudo semanage boolean {{-l|--list}} {{-C|--locallist}} {{-n|--noheading}}`
- Set or unset a boolean persistently:
`sudo semanage boolean {{-m|--modify}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}`