LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aa-complain

Set AppArmor profiles to complain mode

TLDR

Set a profile to complain mode
$ sudo aa-complain [path/to/profile]
copy
Set multiple profiles to complain mode
$ sudo aa-complain [path/to/profile1] [path/to/profile2]
copy
Set profiles in a directory to complain mode
$ sudo aa-complain -d [path/to/profiles]
copy
Set a profile to complain mode without reloading
$ sudo aa-complain --no-reload [path/to/profile]
copy

SYNOPSIS

aa-complain executable [executable ...] [-d /path/to/profiles] [--no-reload]

DESCRIPTION

aa-complain switches AppArmor security profiles into complain mode. In this mode, security policy is not enforced but access violations are logged to the system log. This is useful for testing and developing new profiles without blocking application functionality.

PARAMETERS

-d, --dir /path/to/profiles

Specifies the directory containing AppArmor profiles; defaults to /etc/apparmor.d
--no-reload
Prevents automatic profile reloading after modifications

INSTALL

sudo apk add apparmor-utils
copy
sudo zypper install apparmor-utils
copy
nix profile install nixpkgs#apparmor-utils
copy

CAVEATS

Deny rules remain active even when complain mode is enabled. Complain mode only affects allow rules, so explicit denials will still block access.

HISTORY

Part of the AppArmor utilities package for managing application security profiles on Linux systems.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid