Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-20 00:20:58 +00:00
parent 846fc1563d
commit a360d4dc45
153 changed files with 493 additions and 434 deletions

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Generate a local policy to allow access for all denied services:
`sudo audit2allow --all -M {{local_policy_name}}`
`sudo audit2allow {{[-a|--all]}} -M {{local_policy_name}}`
- Generate a local policy module to grant access to a specific process/service/command from the audit logs:
@@ -23,4 +23,4 @@ source: https://github.com/tldr-pages/tldr.git
- Install a local policy module:
`sudo semodule -i {{local_policy_name}}.pp`
`sudo semodule {{[-i|--install]}} {{local_policy_name}}.pp`