non-owner accesses authorized_keys

This commit is contained in:
Roman Beslik 2024-12-17 20:28:17 +02:00
parent a9a41ef810
commit adeec1e13c

View file

@ -94,7 +94,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
owner @{user_download_dirs}/{,**} rwl, owner @{user_download_dirs}/{,**} rwl,
owner @{user_sync_dirs}/{,**} rwl, owner @{user_sync_dirs}/{,**} rwl,
owner @{HOME}/@{XDG_SSH_DIR}/authorized_keys{,.*} r, @{HOME}/@{XDG_SSH_DIR}/authorized_keys{,.*} r,
owner @{user_cache_dirs}/{,motd*} rw, owner @{user_cache_dirs}/{,motd*} rw,
@{att}/@{run}/systemd/sessions/@{int}.ref rw, @{att}/@{run}/systemd/sessions/@{int}.ref rw,