OS Manuals

/usr/bin/aa-cleanprof

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

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

Cleanup the profiles for the given programs

positional arguments:
  program               name of program

options:
  -h, --help            show this help message and exit
  -d, --dir DIR         path to profiles
  -s, --silent          Silently overwrite with a clean profile
  --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
-s, --silent --silentSilently overwrite with a clean profilehelp + 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.