AA-REMOVE-UNKNOWN(8) - Linux man page online | Administration and privileged commands
Remove unknown AppArmor profiles.
AA-REMOVE-UNKNOWN(8) AppArmor AA-REMOVE-UNKNOWN(8)
AppArmor 2.12 2018-09-27 AA-REMOVE-UNKNOWN(8)
NAMEaa-remove-unknown - remove unknown AppArmor profiles
DESCRIPTIONaa-remove-unknown will inventory all profiles in /etc/apparmor.d/, compare that list to the profiles currently loaded into the kernel, and then remove all of the loaded profiles that were not found in /etc/apparmor.d/. It will also report the name of each profile that it removes on standard out.
OPTIONS-h, --help displays a short usage statement. -n dry run; only prints the names of profiles that would be removed
EXAMPLES$ sudo ./aa-remove-unknown -n Would remove 'test//null-/usr/bin/whoami' Would remove 'test' $ sudo ./aa-remove-unknown Removing 'test//null-/usr/bin/whoami' Removing 'test'
BUGSNone. Please report any you find to Launchpad at <https://bugs.launchpad.net/apparmor/+filebug>.
|This manual||Reference||Other manuals|