mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
95 lines
2.2 KiB
Text
95 lines
2.2 KiB
Text
![]() |
# $Id$
|
||
|
# This publication is intellectual property of Canonical Ltd. Its contents
|
||
|
# can be duplicated, either in part or in whole, provided that a copyright
|
||
|
# label is visibly located on each copy.
|
||
|
#
|
||
|
# All information found in this book has been compiled with utmost
|
||
|
# attention to detail. However, this does not guarantee complete accuracy.
|
||
|
# Neither Canonical Ltd, the authors, nor the translators shall be held
|
||
|
# liable for possible errors or the consequences thereof.
|
||
|
#
|
||
|
# Many of the software and hardware descriptions cited in this book
|
||
|
# are registered trademarks. All trade names are subject to copyright
|
||
|
# restrictions and may be registered trade marks. Canonical Ltd
|
||
|
# essentially adheres to the manufacturer's spelling.
|
||
|
#
|
||
|
# Names of products and trademarks appearing in this book (with or without
|
||
|
# specific notation) are likewise subject to trademark and trade protection
|
||
|
# laws and may thus fall under copyright restrictions.
|
||
|
#
|
||
|
|
||
|
|
||
|
=pod
|
||
|
|
||
|
=head1 NAME
|
||
|
|
||
|
apparmor_notify - display information about logged AppArmor messages.
|
||
|
|
||
|
=head1 SYNOPSIS
|
||
|
|
||
|
B<apparmor_notify> [option]
|
||
|
|
||
|
=head1 DESCRIPTION
|
||
|
|
||
|
B<apparmor_notify> will display a summary or provide desktop notifications
|
||
|
for AppArmor DENIED messages.
|
||
|
|
||
|
=head1 OPTIONS
|
||
|
|
||
|
B<apparmor_notify> accepts the following arguments:
|
||
|
|
||
|
=over 4
|
||
|
|
||
|
=item -p
|
||
|
|
||
|
poll AppArmor logs and display desktop notifications. Can be used with '-s'
|
||
|
option to display a summary on startup.
|
||
|
|
||
|
=item -l
|
||
|
|
||
|
show summary since last login.
|
||
|
|
||
|
=item -s NUM
|
||
|
|
||
|
show summary for last NUM of days.
|
||
|
|
||
|
=item -v
|
||
|
|
||
|
show messages with summaries.
|
||
|
|
||
|
=item -h
|
||
|
|
||
|
displays a short usage statement.
|
||
|
|
||
|
=head1 CONFIGURATION
|
||
|
|
||
|
System-wide configuration for B<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"
|
||
|
|
||
|
=back
|
||
|
|
||
|
=head1 BUGS
|
||
|
|
||
|
B<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
|
||
|
L<https://bugs.launchpad.net/apparmor/+filebug>.
|
||
|
|
||
|
=head1 SEE ALSO
|
||
|
|
||
|
apparmor(7)
|
||
|
|
||
|
=cut
|