apparmor_notify - display information about logged AppArmor messages.



NAME

apparmor_notify - display information about logged AppArmor messages.


SYNOPSIS

apparmor_notify [option]


DESCRIPTION

apparmor_notify will display a summary or provide desktop notifications for AppArmor DENIED messages.


OPTIONS

apparmor_notify accepts the following arguments:

-p, --poll

poll AppArmor logs and display desktop notifications. Can be used with '-s' option to display a summary on startup.

-f FILE, --file=FILE

search FILE for AppArmor messages

-l, --since-last

show summary since last login.

-s NUM, --since-days=NUM

show summary for last NUM of days.

-u USER, --user=USER

user to drop privileges to when running privileged. This has no effect when running under sudo.

-w NUM, --wait=NUM

wait NUM seconds before displaying notifications (for use with -p)

-v, --verbose

show messages with summaries.

-h, --help

displays a short usage statement.


CONFIGURATION

System-wide configuration for apparmor_notify is done via /etc/apparmor/notify.conf:

  # set to 'yes' to enable AppArmor DENIED notifications
  show_notifications="yes"
  # only people in use_group can use apparmor_notify
  use_group="admin"

Per-user configuration is done via ~/.apparmor/notify.conf:

  # set to 'yes' to enable AppArmor DENIED notifications
  show_notifications="yes"


BUGS

apparmor_notify needs to be able to read the logfiles containing the AppArmor DENIED messages.

If you find any additional bugs, please report them to Launchpad at https://bugs.launchpad.net/apparmor/+filebug.


SEE ALSO

apparmor(7)

 apparmor_notify - display information about logged AppArmor messages.