artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760d86c
)
Treat doas with arguments as a valid SUDO variable. Allows one to
author
anton
<anton@openbsd.org>
Thu, 29 Jul 2021 15:34:09 +0000
(15:34 +0000)
committer
anton
<anton@openbsd.org>
Thu, 29 Jul 2021 15:34:09 +0000
(15:34 +0000)
specify SUDO="doas -n" which I do while running make regress.
ok dtucker@
regress/usr.bin/ssh/agent-getpeereid.sh
patch
|
blob
|
history
diff --git
a/regress/usr.bin/ssh/agent-getpeereid.sh
b/regress/usr.bin/ssh/agent-getpeereid.sh
index
147fd90
..
4afe7f5
100644
(file)
--- a/
regress/usr.bin/ssh/agent-getpeereid.sh
+++ b/
regress/usr.bin/ssh/agent-getpeereid.sh
@@
-1,4
+1,4
@@
-# $OpenBSD: agent-getpeereid.sh,v 1.1
1 2019/11/26 23:43:10 djm
Exp $
+# $OpenBSD: agent-getpeereid.sh,v 1.1
2 2021/07/29 15:34:09 anton
Exp $
# Placed in the Public Domain.
tid="disallow agent attach from other uid"
@@
-9,7
+9,7
@@
SSH_AUTH_SOCK=/nonexistent
case "x$SUDO" in
xsudo) sudo=1;;
- xdoas) ;;
+ xdoas
|xdoas\ *
) ;;
x)
if [ -x /usr/local/bin/sudo -a -f /etc/sudoers ]; then
sudo=1