1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/linux/getsebool.md
2024-09-18 20:42:03 +02:00

17 lines
385 B
Markdown

# 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:
`sudo semanage boolean {{-l|--list}}`