---
name: "aa-complain"
section: "8"
platform: "linux"
package: "apparmor"
version: "4.1.8-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/aa-complain"
---

# aa-complain(8)

set an AppArmor security profile to complain mode.

## NAME

aa-complain - set an AppArmor security profile to complain mode.

## SYNOPSIS

**aa-complain** ***\<executable\>*** **\[*****\<executable\>*** **...\] \[*****-d /path/to/profiles*****\] \[*****--no-reload*****\]**

## OPTIONS

**-d --dir  /path/to/profiles**

```
   Specifies where to look for the AppArmor security profile set.
   Defaults to /etc/apparmor.d.
```

**--no-reload**\
    Do not reload the profile after modifying it.

## DESCRIPTION

**aa-complain** is used to set the enforcement mode for one or more profiles to *complain* mode. In this mode security policy is not enforced but rather access violations are logged to the system log.

Note that 'deny' rules will be enforced even in complain mode.

## BUGS

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

## SEE ALSO

[**apparmor**(7)](/apparmor/7.md), [**apparmor.d**(5)](/apparmor.d/5.md), **aa-enforce**(1), **aa-disable**(1), [**aa\_change\_hat**(2)](/aa_change_hat/2.md), and \<https://wiki.apparmor.net\>.
