aa-enforce
linux
Set an AppArmor profile to enforce mode. See also: `aa-complain`, `aa-disable`, `aa-status`.
More info →Options (1)
-d, --dirbooleanEnable profile
Example:
sudo aa-enforce {{[-d|--dir]}} {{path/to/profile}}Examples (2)
Enable profile
sudo aa-enforce [-d|--dir] path/to/profileEnable profiles
sudo aa-enforce path/to/profile1 path/to/profile2 ...made by @shridhargupta | data from tldr-pages