More consoles requirement after sshd introduction (#44)

* consoles requirement after sshd introduction

* one more
This commit is contained in:
nobodysu 2022-06-01 17:50:05 +00:00 committed by GitHub
parent e2b7f6594c
commit b4f7ed185c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 0 deletions

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/lastlog
profile lastlog @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
network netlink raw,
@ -18,5 +19,7 @@ profile lastlog @{exec_path} {
/var/log/lastlog r,
/etc/login.defs r,
@{run}/systemd/userdb/io.systemd.DynamicUser w,
include if exists <local/lastlog>
}