AA-AUTODEP(8)
π NAME π
okay so bestie, welcome to the aa-autodep page from AppArmor, section 8 β yes, it's giving manual-page royalty π. This is the tool that guesses basic AppArmor profile requirements. Slay.
β¨ SYNOPSIS β¨
aa-autodep <executable> [<executable> ...] [-d /path/to/profiles] [-f]
Translation: hand it one or more executables, optionally point it at a profile dir, optionally force it. Tiny command, big profile energy β¨
π OPTIONS π
-d,--dir/path/to/profilesβ tells aa-autodep where to look for the AppArmor security profile set. Defaults to/etc/apparmor.dβ that's the home base, no cap π .-f,--forceβ overwrites any existing AppArmor profile for the executable with the generated minimal AppArmor profile. Yes bestie, it will absolutely replace what's there, so know that before you press enter π.
π¦ DESCRIPTION π¦
okay so here's the tea: aa-autodep is used to generate a minimal AppArmor profile for a set of executables. It'll generate a profile for a binary executable as well as interpreted script programs β scripts get love too, periodt. At a minimum, aa-autodep will provide a base profile containing a base include directive which includes basic profile entries needed by most programs. It's like the starter pack, the bare minimum slay π§.
The --force option will overwrite any existing profile for the executable with the newly generated minimal AppArmor profile. So like, don't do it unless you mean it, bestie π.
π BUGS π
big caveat, bestie: this program does not perform full static analysis of executables, so the profiles generated are necessarily incomplete. It's giving "best effort, not psychic" energy, fr fr. If you find any bugs, please report them at <https://gitlab.com/apparmor/apparmor/-/issues> β they want the receipts π«Ά.
π SEE ALSO π
apparmor(7)apparmor.d(5)aa-complain(1)aa-enforce(1)aa-disable(1)aa_change_hat(2)- and the wiki at
https://wiki.apparmor.net
mwah π that's the whole page, bestie β brought to you by AppArmor 4.1.7, dated 2026-05-19, and filed under AA-AUTODEP(8). go off, profile queen π.
π¦ where this page comes from
- opensuse-leap 16.0: apparmor-utils 4.1.7-160000.2.1 Β· GPL-2.0-only AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms