Files
tldr/pages.zh/linux/aa-enforce.md

369 B

aa-enforce

设置 AppArmor 配置文件为强制模式。 另见:aa-complainaa-disableaa-status。 更多信息:https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-enforce.8

  • 启用配置文件:

sudo aa-enforce --dir {{path/to/profile}}

  • 启用多个配置文件:

sudo aa-enforce {{path/to/profile1 path/to/profile2 ...}}