feat(profile): replace former regex by the new @{user} variable.

This commit is contained in:
Alexandre Pujol 2024-05-15 17:22:20 +01:00
parent 407c71b133
commit ad960d477b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
10 changed files with 11 additions and 11 deletions

View file

@ -36,7 +36,7 @@ profile cockpit-session @{exec_path} flags=(attach_disconnected) {
/etc/motd.d/ r,
/etc/shells r,
@{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/faillock/@{user} rwk,
@{run}/systemd/sessions/*.ref rw,
@{run}/utmp rwk,
@{run}/motd.d/{,*} r,