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

13 lines
400 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# aa-disable
> 禁用 AppArmor 安全策略。
> 另见:`aa-complain``aa-enforce``aa-status`。
> 更多信息:<https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-disable.8>。
- 禁用配置文件:
`sudo aa-disable {{path/to/profile1 path/to/profile2 ...}}`
- 禁用目录中的配置文件(默认目录为 `/etc/apparmor.d`
`sudo aa-disable --dir {{path/to/profiles}}`