commands.sh

aa-enforce

linux

Set an AppArmor profile to enforce mode. See also: `aa-complain`, `aa-disable`, `aa-status`.

More info →

Options (1)

-d, --dirboolean

Enable profile

Example: sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}

Examples (2)

Enable profile

sudo aa-enforce [-d|--dir] path/to/profile

Enable profiles

sudo aa-enforce path/to/profile1 path/to/profile2 ...
made by @shridhargupta | data from tldr-pages