Skip to content

Commit

Permalink
non-owner accesses authorized_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
beroal committed Dec 17, 2024
1 parent a9a41ef commit adeec1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apparmor.d/groups/ssh/sshd
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
owner @{user_download_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,

@{att}/@{run}/systemd/sessions/@{int}.ref rw,
Expand Down

0 comments on commit adeec1e

Please sign in to comment.