tldr/pages/linux/aa-enforce.md

14 lines
345 B
Markdown

# aa-enforce
> Set an AppArmor profile to enforce mode.
> See also: `aa-complain`, `aa-disable`, `aa-status`.
> More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-enforce.8>.
- Enable profile:
`sudo aa-enforce {{path/to/profile1 path/to/profile2 ...}}`
- Enable profiles:
`sudo aa-enforce --dir {{path/to/profile}}`