Alphanumeric systemd sessions (#47)

This commit is contained in:
nobodysu 2022-06-01 17:54:07 +00:00 committed by GitHub
parent b45161a68e
commit 7db753f0c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 24 additions and 23 deletions

View file

@ -32,7 +32,7 @@ profile cockpit-session @{exec_path} flags=(attach_disconnected) {
/etc/shells r,
@{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/systemd/sessions/[0-9].ref rw,
@{run}/systemd/sessions/*.ref rw,
@{run}/systemd/userdb/ r,
@{run}/utmp rwk,
@ -45,4 +45,4 @@ profile cockpit-session @{exec_path} flags=(attach_disconnected) {
@{PROC}/@{pids}/fd/ r,
include if exists <local/cockpit-session>
}
}