mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 10:00:41 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set or unset a SELinux boolean. Booleans allow the administrator to customize how policy rules affect confined process types (a.k.a domains):
|
||||
|
||||
`sudo semanage boolean {{[-m|--modify]}} {{-1|--on|-0|--off}} {{haproxy_connect_any}}`
|
||||
`sudo semanage boolean {{[-m|--modify]}} {{--on|--off}} {{haproxy_connect_any}}`
|
||||
|
||||
- Add a user-defined file context labeling rule. File contexts define what files confined domains are allowed to access:
|
||||
|
||||
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set or unset permissive mode for a confined domain. Per-domain permissive mode allows more granular control compared to `setenforce`:
|
||||
|
||||
`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}`
|
||||
`sudo semanage permissive {{--add|--delete}} {{httpd_t}}`
|
||||
|
||||
- Output local customizations in the default store:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user