commands.sh

aa-genprof

linux

Generate AppArmor security profiles by monitoring program behavior.

More info →

Options (3)

-d, --dirboolean

Specify a custom directory for profiles

Example: sudo aa-genprof {{[-d|--dir]}} /{{path/to/profiles}} {{program_path}}
-f, --fileboolean

Specify a custom logfile for profiling

Example: sudo aa-genprof {{[-f|--file]}} /{{path/to/logfile}} {{program_path}}
-h, --helpboolean

Display help

Example: aa-genprof {{[-h|--help]}}

Examples (4)

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]
made by @shridhargupta | data from tldr-pages