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

@ -91,7 +91,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
owner @{HOME}/@{XDG_SSH_DIR}/authorized_keys{,.*} r,
owner @{user_cache_dirs}/{,motd*} rw,
@{run}/faillock/[a-zA-z0-9]* rwk,
@{run}/faillock/@{user} rwk,
@{run}/motd.d/{,*} r,
@{run}/motd.dynamic rw,
@{run}/motd.dynamic.new rw,