1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 14:15:23 +02:00
tldr/pages/linux/aa-logprof.md
Prithviraj03 529b37fbb1
aa-*, apparmor_parser: add page (#16844)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-14 20:24:48 +03:00

640 B

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]}}