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

17
pages/linux/getsebool.md Normal file
View File

@@ -0,0 +1,17 @@
# getsebool
> Get SELinux boolean value.
> See also: `semanage-boolean`, `setsebool`.
> More information: <https://manned.org/man/getsebool>.
- Show the current setting of a boolean:
`getsebool {{httpd_can_connect_ftp}}`
- Show the current setting of [a]ll booleans:
`getsebool -a`
- Show the current setting of all booleans with explanations:
`sudo semanage boolean {{-l|--list}}`