aa-enabled

Content

 

Data

license:
Version:
Developer / owner:

Short description:

Manual page and help for the aa-enabled linux command. Use the aa-enabled command to check the operating status of AppArmor.

 

 

Man page output

man aa-enabled
AA-ENABLED(1)                                            AppArmor                                            AA-ENABLED(1)

NAME
       aa-enabled - test whether AppArmor is enabled

SYNOPSIS
       aa-enabled [options]

DESCRIPTION
       aa-enabled is used to determine if AppArmor is enabled.

OPTIONS
       aa-enabled accepts the following arguments:

       -h, --help
           Display a brief usage guide.

       -q, --quiet
           Do not output anything to stdout. This option is intended to be used by scripts that simply want to use the
           exit code to determine if AppArmor is enabled.

EXIT STATUS
       Upon exiting, aa-enabled will set its exit status to the following values:

       0   if AppArmor is enabled.

       1   if AppArmor is not enabled/loaded.

       2   intentionally not used as an aa-enabled exit status.

       3   if the AppArmor control files aren't available under /sys/kernel/security/.

       4   if aa-enabled doesn't have enough privileges to read the apparmor control files.

       64  if any unexpected error or condition is encountered.

BUGS
       If you find any bugs, please report them at <https://bugs.launchpad.net/apparmor/+filebug>.

SEE ALSO
       apparmor(7), apparmor.d(5), aa_is_enabled(2), and <https://wiki.apparmor.net>.

AppArmor 2.13.2                                         2019-03-30                                           AA-ENABLED(1)

 

 

Help output

aa-enabled --help
aa-enabled: [options]
  options:
  -q | --quiet        Don't print out any messages
  -h | --help         Print help

 

Related Content

  •