snippetbashTip
aa-genprof — Generate AppArmor security profiles by monitoring program behavior. More information: <https://gitla
Viewed 0 times
profilesapparmorcommandsecurityclimonitoringgenerateaa-genprof
linux
Problem
How to use the
aa-genprof command: Generate AppArmor security profiles by monitoring program behavior. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-genprof.8>.Solution
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]}}Code Snippets
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]}}Context
tldr-pages: linux/aa-genprof
Revisions (0)
No revisions yet.