AA-AUTODEP(8)
π AA-AUTODEP β girl help, it guesses your AppArmor profiles πβ¨
okay so bestie, gather round, because this is the aa-autodep page from section 8 of the AppArmor manual, and it's genuinely so useful, no cap π«Ά
β¨ NAME β¨
aa-autodep β guess basic AppArmor profile requirements π
π SYNOPSIS π
aa-autodep <executable> [<executable> ...] [-d /path/to/profiles] [-f]
like. you hand it one or more executables, you can point it at a profile dir, you can force it, and it goes brrr. that's the whole vibe fr fr π¦
π OPTIONS π
-d,--dir/path/to/profilesβ tells it where to go looking for the AppArmor security profile set. and if you don't say anything? it just assumes/etc/apparmor.d, iconic default behaviour honestly π-f,--forceβ overwrites any existing AppArmor profile for the executable with the generated minimal AppArmor profile. yes bestie it will absolutely replace what's already there, so know that going in π
πΈ DESCRIPTION πΈ
so the whole point of aa-autodep is generating a minimal AppArmor profile for a set of executables. it's giving "starter pack" energy β¨
and not just binaries either β this program will generate a profile for binary executable as well as interpreted script programs. versatile queen π
at a minimum, aa-autodep will provide a base profile containing a base include directive, which includes the basic profile entries that most programs need. like, the bare minimum survival kit, and honestly? that's so valid π§
and then the --force option does its thing: it'll overwrite any existing profile for the executable with the newly generated minimal AppArmor profile. loud, proud, destructive, main character energy π₯
π BUGS π
okay so real talk, and this is important: this program does not perform full static analysis of executables, so the profiles it generates are necessarily incomplete. not a vibe, but it's the truth, and you deserve to know it π
if you find any bugs, please report them at <https://gitlab.com/apparmor/apparmor/-/issues>. do it for the girlies, do it for the community, do it for future you π«Ά
π SEE ALSO π
go read these next, bestie, they're all connected, iykyk:
apparmor(7)apparmor.d(5)aa-complain(1)aa-enforce(1)aa-disable(1)aa_change_hat(2)- and <https://wiki.apparmor.net> π
AppArmor 6.0.0~alpha1 π 2026-10-05 β yeah that's the version and the date this whole thing got written, so shoutout to the AppArmor girlies who shipped it, mwah, slay, periodt πππ¦
π¦ where this page comes from
- ubuntu stonking: apparmor-utils 6.0.0~alpha1-0ubuntu4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms