mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 10:49:34 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/linux/semanage-boolean
Normal file
22
tldr/linux/semanage-boolean
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# semanage boolean
|
||||
|
||||
> Manage persistent SELinux boolean settings.
|
||||
> See also: `semanage` for managing SELinux policies, `getsebool` for checking boolean values, and `setsebool` for applying non-persistent boolean settings.
|
||||
> More information: <https://manned.org/man/semanage-boolean>.
|
||||
|
||||
- List all booleans settings:
|
||||
|
||||
`sudo semanage boolean {{-l|--list}}`
|
||||
|
||||
- List all user-defined boolean settings without headings:
|
||||
|
||||
`sudo semanage boolean {{-l|--list}} {{-C|--locallist}} {{-n|--noheading}}`
|
||||
|
||||
- Set or unset a boolean persistently:
|
||||
|
||||
`sudo semanage boolean {{-m|--modify}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}`
|
||||
Reference in New Issue
Block a user