mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 11:53:07 +00:00
Update cheatsheets
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user