LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aa-enforce

Set AppArmor profiles to enforce mode

TLDR

Enable a profile in enforce mode
$ sudo aa-enforce [path/to/profile]
copy
Enable multiple profiles in enforce mode
$ sudo aa-enforce [path/to/profile1] [path/to/profile2]
copy
Enable profiles from a specific directory
$ sudo aa-enforce -d [path/to/profiles]
copy
Set enforce mode without reloading the policy
$ sudo aa-enforce --no-reload [path/to/profile]
copy

SYNOPSIS

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

DESCRIPTION

aa-enforce sets one or more AppArmor security profiles to enforce mode, which is the default and most secure mode. In enforce mode, security policy is strictly applied and any access violations are blocked and logged.This command reverses the effects of aa-complain (which sets complain mode) and aa-disable (which unloads profiles).

PARAMETERS

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

Specifies the directory containing AppArmor profiles; defaults to /etc/apparmor.d
--no-reload
Do not reload the profile after modifying it

INSTALL

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

CAVEATS

Enabling enforce mode on a profile that hasn't been properly tested may cause applications to malfunction if the profile is too restrictive.

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