mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
Merge abstractions/wutmp: allow access to lastlog2.db
Reported by darix, seen with comm="sshd-session" I propose this for master and 4.x (optionally also 3.x even if it's less likely that systems using these branches already use lastlog2) MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1676 Approved-by: Ryan Lee <rlee287@yahoo.com> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
b1097077f5
@ -2,6 +2,7 @@
|
||||
#
|
||||
# Copyright (C) 2002-2009 Novell/SUSE
|
||||
# Copyright (C) 2009 Canonical Ltd.
|
||||
# Copyright (C) 2025 Christian Boltz
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public
|
||||
@ -13,6 +14,7 @@
|
||||
|
||||
# some services update wtmp, utmp, and lastlog with per-user
|
||||
# connection information
|
||||
/var/lib/lastlog/lastlog2.db{,-journal} rwlk,
|
||||
/var/lib/wtmpdb/ r,
|
||||
/var/lib/wtmpdb/wtmp.db{,-journal} rwlk,
|
||||
/var/log/lastlog rwk,
|
||||
|
Loading…
x
Reference in New Issue
Block a user