mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
Update useradd and userdel profiles to use wutmp abstraction.
This commit is contained in:
parent
5dedd16bf5
commit
1c1cc65cbd
@ -18,6 +18,7 @@
|
||||
#include <abstractions/perl>
|
||||
#include <abstractions/consoles>
|
||||
#include <abstractions/nameservice>
|
||||
#include <abstractions/wutmp>
|
||||
|
||||
capability chown,
|
||||
capability dac_override,
|
||||
@ -44,8 +45,6 @@
|
||||
/usr/sbin/useradd rmix,
|
||||
/usr/sbin/useradd.local rmix,
|
||||
/var/log/faillog rw,
|
||||
/var/log/lastlog rw,
|
||||
/{,var/}run/nscd.pid rw,
|
||||
/{,var/}run/utmp rw,
|
||||
/var/spool/mail/* rw,
|
||||
}
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include <abstractions/consoles>
|
||||
#include <abstractions/perl>
|
||||
#include <abstractions/nameservice>
|
||||
#include <abstractions/wutmp>
|
||||
|
||||
capability chown,
|
||||
capability dac_override,
|
||||
@ -44,9 +45,7 @@
|
||||
/usr/sbin/userdel-post.local rmix,
|
||||
/usr/sbin/userdel-pre.local rmix,
|
||||
/usr/sbin/userdel rmix,
|
||||
/var/log/lastlog rw,
|
||||
# XXX
|
||||
/{,var/}run/nscd.pid r,
|
||||
/{,var/}run/utmp rw,
|
||||
/var/spool/mail/* wl,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user