Update cheatsheets

This commit is contained in:
ivuorinen
2024-05-27 00:14:40 +00:00
parent 0e4d52bcd0
commit 369eb89f11
8 changed files with 140 additions and 0 deletions

22
tldr/linux/getsebool Normal file
View File

@@ -0,0 +1,22 @@
---
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/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}}`