1
# This publication is intellectual property of Canonical Ltd. Its contents
2
# can be duplicated, either in part or in whole, provided that a copyright
3
# label is visibly located on each copy.
5
# All information found in this book has been compiled with utmost
6
# attention to detail. However, this does not guarantee complete accuracy.
7
# Neither Canonical Ltd, the authors, nor the translators shall be held
8
# liable for possible errors or the consequences thereof.
10
# Many of the software and hardware descriptions cited in this book
11
# are registered trademarks. All trade names are subject to copyright
12
# restrictions and may be registered trade marks. Canonical Ltd
13
# essentially adheres to the manufacturer's spelling.
15
# Names of products and trademarks appearing in this book (with or without
16
# specific notation) are likewise subject to trademark and trade protection
17
# laws and may thus fall under copyright restrictions.
25
aa-notify - display information about logged AppArmor messages.
33
B<aa-notify> will display a summary or provide desktop notifications
34
for AppArmor DENIED messages.
38
B<aa-notify> accepts the following arguments:
44
poll AppArmor logs and display desktop notifications. Can be used with '-s'
45
option to display a summary on startup.
47
=item -f FILE, --file=FILE
49
search FILE for AppArmor messages
51
=item -l, --since-last
53
show summary since last login.
55
=item -s NUM, --since-days=NUM
57
show summary for last NUM of days.
59
=item -u USER, --user=USER
61
user to drop privileges to when running privileged. This has no effect when
64
=item -w NUM, --wait=NUM
66
wait NUM seconds before displaying notifications (for use with -p)
70
show messages with summaries.
74
displays a short usage statement.
80
System-wide configuration for B<aa-notify> is done via
81
/etc/apparmor/notify.conf:
83
# set to 'yes' to enable AppArmor DENIED notifications
84
show_notifications="yes"
86
# only people in use_group can use aa-notify
89
Per-user configuration is done via ~/.apparmor/notify.conf:
91
# set to 'yes' to enable AppArmor DENIED notifications
92
show_notifications="yes"
96
B<aa-notify> needs to be able to read the logfiles containing the
97
AppArmor DENIED messages.
99
If you find any additional bugs, please report them to Launchpad at
100
L<https://bugs.launchpad.net/apparmor/+filebug>.