---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# aa-complain

> Set an AppArmor policy to complain mode.
> See also: `aa-disable`, `aa-enforce`, `aa-status`.
> More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-complain.8>.

- Set policy to complain mode:

`sudo aa-complain {{path/to/profile1 path/to/profile2 ...}}`

- Set policies to complain mode:

`sudo aa-complain {{[-d|--dir]}} {{path/to/profiles}}`
