HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aa-disable — Disable AppArmor security policies. See also: `aa-complain`, `aa-enforce`, `aa-status`. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
policiesapparmorcommandsecurityaa-disableclidisablesee
linux

Problem

How to use the aa-disable command: Disable AppArmor security policies. See also: aa-complain, aa-enforce, aa-status. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-disable.8>.

Solution

aa-disable — Disable AppArmor security policies. See also: aa-complain, aa-enforce, aa-status. More information: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-disable.8>.

Disable profile:
sudo aa-disable {{path/to/profile1 path/to/profile2 ...}}


Disable profiles in a directory (defaults to /etc/apparmor.d):
sudo aa-disable --dir {{path/to/profiles}}

Code Snippets

Disable profile

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

Disable profiles in a directory (defaults to `/etc/apparmor.d`)

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

Context

tldr-pages: linux/aa-disable

Revisions (0)

No revisions yet.