OS Manuals

/usr/bin/aa-audit

From apparmor-utils 5.0.2-r3 (enterprise-packages), captured 2026-11-08 by running aa-audit --help (exit 0). permalink

usage: aa-audit [-h] [-d DIR] [-r] [--no-reload] [--profile PROFILE] [--profile-file PROFILE_FILE]
                [--executable-file EXECUTABLE_FILE]
                [program ...]

Switch the given programs to audit mode

positional arguments:
  program               name of program

options:
  -h, --help            show this help message and exit
  -d, --dir DIR         path to profiles
  -r, --remove          remove audit mode
  --no-reload           Do not reload the profile after modifying it
  --profile PROFILE     profile name to operate on
  --profile-file PROFILE_FILE
                        path to profile file
  --executable-file EXECUTABLE_FILE
                        path to executable (derive profile from it)
Options (7)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-d, --dir DIRpath to profileshelp + man
-r, --remove --removeremove audit modehelp + man
--no-reloadDo not reload the profile after modifying ithelp
--profile PROFILEprofile name to operate onhelp
--profile-file PROFILE_FILEpath to profile filehelp
--executable-file EXECUTABLE_FILEpath to executable (derive profile from it)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.