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

394 B

aa-complain

将 AppArmor 策略设置为抱怨模式。 另请参阅:aa-disableaa-enforceaa-status。 更多信息:https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-complain.8

  • 将策略设置为抱怨模式:

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

  • 将策略设置为抱怨模式:

sudo aa-complain --dir {{path/to/profiles}}