mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-11-06 05:16:43 +00:00
upstream: Add shebang path to askpass script. Required for exec on
some platforms (musl, probably others). OpenBSD-Regress-ID: 35cdeed12ae701afcb812f800c04d817325cd22a
This commit is contained in:
1 parent
83d3ffc0fc
commit
b28e91aff8
1 file changed
+2
-1
+2
-1
@@ -1,4 +1,4 @@
|
||||
# $OpenBSD: password.sh,v 1.1 2025/06/24 12:28:23 dtucker Exp $
|
||||
# $OpenBSD: password.sh,v 1.2 2025/06/29 08:20:21 dtucker Exp $
|
||||
# Placed in the Public Domain.
|
||||
#
|
||||
# This tests standard "password" authentication. It does not run by default,
|
||||
@@ -21,6 +21,7 @@ echo "PasswordAuthentication yes" >>sshd_proxy
|
||||
# Keep a counter of the number of times it has been called and
|
||||
# reply with the next line of the replypass file.
|
||||
cat >${OBJ}/replypass.sh <<EOD
|
||||
#!/bin/sh
|
||||
n=\`cat ${OBJ}/replypass.N\`
|
||||
awk "NR==\$n" ${OBJ}/replypass
|
||||
echo \$(( \$n + 1 )) >${OBJ}/replypass.N
|
||||
|
||||
Reference in new issue
Block a user