diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-24 04:58:30 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-24 05:48:56 -0400 |
commit | 187db8e649641aa64dc49c29ea6bbeba1f7cabf7 (patch) | |
tree | 7d4795161361f4bebe7d5d29dc111f77c1956728 /EndoForge/openssh/AuthorizedKeysCommand | |
parent | 82724b1955cb39fde0d920e3de7a61574502f56a (diff) |
comments and fiddling
Diffstat (limited to 'EndoForge/openssh/AuthorizedKeysCommand')
-rwxr-xr-x | EndoForge/openssh/AuthorizedKeysCommand | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/EndoForge/openssh/AuthorizedKeysCommand b/EndoForge/openssh/AuthorizedKeysCommand index 063444e..0e6d285 100755 --- a/EndoForge/openssh/AuthorizedKeysCommand +++ b/EndoForge/openssh/AuthorizedKeysCommand | |||
@@ -1,4 +1,9 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # Modified AuthorizedKeysCommand for running OpenSSH as unprivileged user. | ||
3 | # | ||
4 | # Uses the home directory of the calling user (ascertained through "id -un") | ||
5 | # instead of the authenticated user. | ||
6 | |||
2 | fingerprint=$3 | 7 | fingerprint=$3 |
3 | authline="$4 $5" | 8 | authline="$4 $5" |
4 | 9 | ||