mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
479 B
Plaintext
23 lines
479 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|