2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-01 06:45:38 +00:00

abstractions/wutmp: allow writing wtmpdb

/var/lib/wtmpdb/ contains the Y2038-safe version of wtmpdb.

Proposed by darix.
This commit is contained in:
Christian Boltz
2024-07-03 22:26:25 +02:00
parent 24d424fd3c
commit da9a3bd37b

View File

@@ -13,6 +13,8 @@
# some services update wtmp, utmp, and lastlog with per-user # some services update wtmp, utmp, and lastlog with per-user
# connection information # connection information
/var/lib/wtmpdb/ r,
/var/lib/wtmpdb/wtmp.db{,-journal} rwlk,
/var/log/lastlog rwk, /var/log/lastlog rwk,
/var/log/wtmp rwk, /var/log/wtmp rwk,
/var/log/btmp rwk, /var/log/btmp rwk,