AA-DISABLE(8)

πŸ“¦ version 4.1.7, in opensuse-leap 16.0

πŸ’… aa-disable β€” the "girl, go to sleep" button for AppArmor profiles ✨

okay so real talk, this is aa-disable from the AppArmor manual set (section 8, admin tools, iykyk) β€” and she is literally the main character of "turn that profile off." 🫢


✨ NAME ✨

aa-disable β€” disable an AppArmor security profile. that's it. that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

aa-disable <executable> [<executable> ...] [-d /path/to/profiles]
[--no-reload] [-r]

so you hand her one or more <executable> thingies, and optionally tell her where the profile set lives, whether to skip the reload, and (yep) there's an -r sitting in the synopsis too. bestie, she's flexible like that. πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

  • -d, --dir /path/to/profiles β€” tells her where to go looking for the AppArmor security profile set. the default is /etc/apparmor.d, which is where the profiles live like 99% of the time, so you probs don't need to touch this. ✨
  • --no-reload β€” do not "unreload" the profile after modifying it. yes, the wording is iconic and yes we're keeping it. basically: don't do the reload dance, just leave it. πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

okay so what does she actually do. aa-disable is used to disable one or more profiles. ✨

here's the tea, and this part is highkey important: this command will unload the profile from the kernel and prevent the profile from being loaded on AppArmor startup. so it's not just a lil nap β€” it's off-off. πŸ’€

and if you ever wanna walk it back? the aa-enforce and aa-complain utilities may be used to change this behavior. slay. two little besties to help you flip the switch back. πŸ”₯


πŸ› BUGS πŸ›

if you find any bugs, please report them at <https://gitlab.com/apparmor/apparmor/-/issues>.

like please actually report them, we can't fix vibes we don't know about. πŸ₯Ί no cap.


πŸ‘‘ SEE ALSO πŸ‘‘

the extended universe, in order:

go read the wiki, it's giving "lore that actually helps." πŸ“šπŸ’œ


🌈 a lil sign-off 🌈

this page is from the AppArmor suite, version 4.1.7, dated 2026-05-19 (section 8 for the admin-tools girlies πŸŽ€). go forth and disable responsibly, bestie β€” and remember: unloading from the kernel is forever until you load it again. πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from