mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-29 14:25:12 +01:00
Receive on screen notifications of AppArmor denials.
This commit is contained in:
parent
effc5eb9aa
commit
c1644cd757
2 changed files with 10 additions and 0 deletions
8
root/etc/xdg/autostart/apparmor-notify.desktop
Normal file
8
root/etc/xdg/autostart/apparmor-notify.desktop
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=AppArmor Notify
|
||||
Comment=Receive on screen notifications of AppArmor denials
|
||||
TryExec=aa-notify
|
||||
Exec=aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
2
root/usr/lib/sysusers.d/apparmor.d.conf
Normal file
2
root/usr/lib/sysusers.d/apparmor.d.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Allow the user to read the apparmor log
|
||||
g audit -
|
Loading…
Reference in a new issue