mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 12:02:36 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/aa-logprof
Normal file
29
tldr/linux/aa-logprof
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# aa-logprof
|
||||
|
||||
> Interactively update AppArmor security profiles based on logged violations.
|
||||
> More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-logprof.8>.
|
||||
|
||||
- Interactively review and update profiles based on system logs:
|
||||
|
||||
`sudo aa-logprof`
|
||||
|
||||
- Use a specific directory for AppArmor profiles:
|
||||
|
||||
`sudo aa-logprof {{[-d|--dir]}} {{/path/to/profiles}}`
|
||||
|
||||
- Use a specific log file instead of the default:
|
||||
|
||||
`sudo aa-logprof {{[-f|--file]}} {{/path/to/logfile}}`
|
||||
|
||||
- Ignore all log entries before the specified mark:
|
||||
|
||||
`sudo aa-logprof {{[-m|--logmark]}} "{{log_marker_text}}"`
|
||||
|
||||
- Display help:
|
||||
|
||||
`aa-logprof {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user