Files
cheatsheet-tldr/tldr/linux/aa-enforce
2025-06-29 00:23:20 +00:00

19 lines
446 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{[-d|--dir]}} {{path/to/profile}}`
- Enable profiles:
`sudo aa-enforce {{path/to/profile1 path/to/profile2 ...}}`