Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 053

AppArmor

What is AppArmor?

AppArmorA path-based mandatory access control system for Linux, used by Ubuntu and SUSE as a simpler alternative to SELinux for confining individual programs.


AppArmor is a Linux Security Module that enforces mandatory access control through per-program profiles expressed in terms of file paths, capabilities, and network primitives, rather than the inode labels used by SELinux. Originating from Immunix, maintained by SUSE and Canonical, AppArmor is the default MAC framework on Ubuntu and openSUSE since the late 2000s. Profiles live under /etc/apparmor.d and can be loaded in enforce or complain mode, with helpers such as aa-genprof, aa-logprof, and aa-easyprof. Its path-based design is generally easier to write and audit than SELinux policy, at the cost of weaker semantics for renames, bind mounts, and chroots. AppArmor is used by snapd, libvirt, LXD, Firefox, and many distro packages.

Examples

  1. 01

    Ubuntu ships AppArmor profiles for Firefox, MySQL, and Evince by default.

  2. 02

    snapd uses AppArmor (plus seccomp) to confine each installed snap package.

Frequently asked questions

What is AppArmor?

A path-based mandatory access control system for Linux, used by Ubuntu and SUSE as a simpler alternative to SELinux for confining individual programs. It belongs to the Cryptography category of cybersecurity.

What does AppArmor mean?

A path-based mandatory access control system for Linux, used by Ubuntu and SUSE as a simpler alternative to SELinux for confining individual programs.

How does AppArmor work?

AppArmor is a Linux Security Module that enforces mandatory access control through per-program profiles expressed in terms of file paths, capabilities, and network primitives, rather than the inode labels used by SELinux. Originating from Immunix, maintained by SUSE and Canonical, AppArmor is the default MAC framework on Ubuntu and openSUSE since the late 2000s. Profiles live under /etc/apparmor.d and can be loaded in enforce or complain mode, with helpers such as aa-genprof, aa-logprof, and aa-easyprof. Its path-based design is generally easier to write and audit than SELinux policy, at the cost of weaker semantics for renames, bind mounts, and chroots. AppArmor is used by snapd, libvirt, LXD, Firefox, and many distro packages.

How do you defend against AppArmor?

Defences for AppArmor typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for AppArmor?

Common alternative names include: AA.

Related terms

See also