mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00

use_group is only honored if it is defined. The "real" permission check is reading the logfile - the group check in aa-notify is just an annoying additional check, and the default "admin" only works on Ubuntu (other distributions typically use "wheel"). This commit comments out use_group in the default config, which allows everybody to use aa-notify. Permissions for reading the log file are of course still needed. References: https://bugzilla.opensuse.org/show_bug.cgi?id=1058787
22 lines
837 B
Text
22 lines
837 B
Text
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2010 Canonical Ltd.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
# License published by the Free Software Foundation.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
# Set to 'no' to disable AppArmor notifications globally
|
|
show_notifications="yes"
|
|
|
|
# OPTIONAL - restrict using aa-notify to users in the given group
|
|
# (if not set, everybody who has permissions to read the logfile can use it)
|
|
# use_group="admin"
|
|
|
|
# OPTIONAL - custom notification message body
|
|
# message_body="This is a custom notification message."
|
|
|
|
# OPTIONAL - custom notification message footer
|
|
# message_footer="For more information visit https://foo.com"
|