mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 11:55:31 +02:00

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>
20 lines
534 B
Markdown
20 lines
534 B
Markdown
# aa-genprof
|
|
|
|
> Generate AppArmor security profiles by monitoring program behavior.
|
|
> More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-genprof.8>.
|
|
|
|
- Start generating a profile for a program:
|
|
|
|
`sudo aa-genprof {{program_path}}`
|
|
|
|
- Specify a custom directory for profiles:
|
|
|
|
`sudo aa-genprof {{[-d|--dir]}} {{/path/to/profiles}} {{program_path}}`
|
|
|
|
- Specify a custom logfile for profiling:
|
|
|
|
`sudo aa-genprof {{[-f|--file]}} {{/path/to/logfile}} {{program_path}}`
|
|
|
|
- Display help:
|
|
|
|
`aa-genprof {{[-h|--help]}}`
|