2025-03-14 21:59:59 -06:00
|
|
|
# getsebool
|
|
|
|
|
|
|
|
|
|
> Get SELinux boolean value.
|
|
|
|
|
> See also: `semanage-boolean`, `setsebool`.
|
|
|
|
|
> More information: <https://manned.org/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:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo semanage boolean {{[-l|--list]}}`
|