diff options
author | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
commit | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (patch) | |
tree | 856b0dee3f2764c13a32dad5ffe2424fab7fef41 /regress/principals-command.sh | |
parent | 4213eec74e74de6310c27a40c3e9759a08a73996 (diff) | |
parent | 8aa3455b16fddea4c0144a7c4a1edb10ec67dcc8 (diff) |
Import openssh_8.2p1.orig.tar.gz
Diffstat (limited to 'regress/principals-command.sh')
-rw-r--r-- | regress/principals-command.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/principals-command.sh b/regress/principals-command.sh index 7d380325b..5e535c133 100644 --- a/regress/principals-command.sh +++ b/regress/principals-command.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: principals-command.sh,v 1.7 2019/09/06 04:24:06 dtucker Exp $ | 1 | # $OpenBSD: principals-command.sh,v 1.11 2019/12/16 02:39:05 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="authorized principals command" | 4 | tid="authorized principals command" |
@@ -12,7 +12,7 @@ if [ -z "$SUDO" -a ! -w /var/run ]; then | |||
12 | exit 0 | 12 | exit 0 |
13 | fi | 13 | fi |
14 | 14 | ||
15 | case "`${SSH} -Q key-plain`" in | 15 | case "$SSH_KEYTYPES" in |
16 | *ssh-rsa*) userkeytype=rsa ;; | 16 | *ssh-rsa*) userkeytype=rsa ;; |
17 | *) userkeytype=ed25519 ;; | 17 | *) userkeytype=ed25519 ;; |
18 | esac | 18 | esac |
@@ -63,7 +63,7 @@ fi | |||
63 | 63 | ||
64 | if [ -x $PRINCIPALS_COMMAND ]; then | 64 | if [ -x $PRINCIPALS_COMMAND ]; then |
65 | # Test explicitly-specified principals | 65 | # Test explicitly-specified principals |
66 | for privsep in yes sandbox ; do | 66 | for privsep in yes ; do |
67 | _prefix="privsep $privsep" | 67 | _prefix="privsep $privsep" |
68 | 68 | ||
69 | # Setup for AuthorizedPrincipalsCommand | 69 | # Setup for AuthorizedPrincipalsCommand |