summaryrefslogtreecommitdiffstats
path: root/regress/login-timeout.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-04-19 14:01:37 +0200
committerDarren Tucker <dtucker@zip.com.au>2004-04-19 14:01:37 +0200
commit9929d1f6666f49ed3ea60769913e40b2bb6e3f1a (patch)
treed3ea32b54709691c6ee75e652343ba377dd7641d /regress/login-timeout.sh
parentAdd people with several and/or large contributions (diff)
downloadopenssh-9929d1f6666f49ed3ea60769913e40b2bb6e3f1a.tar.xz
openssh-9929d1f6666f49ed3ea60769913e40b2bb6e3f1a.zip
- dtucker@cvs.openbsd.org 2004/02/29 22:04:45
[regress/login-timeout.sh] Use sudo when restarting daemon during test. ok markus@
Diffstat (limited to 'regress/login-timeout.sh')
-rw-r--r--regress/login-timeout.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh
index dfc6e6b44..43cce7efe 100644
--- a/regress/login-timeout.sh
+++ b/regress/login-timeout.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: login-timeout.sh,v 1.1 2004/02/17 08:23:20 dtucker Exp $
+# $OpenBSD: login-timeout.sh,v 1.2 2004/02/29 22:04:45 dtucker Exp $
# Placed in the Public Domain.
tid="connect after login grace timeout"
@@ -15,7 +15,7 @@ if [ $? -ne 0 ]; then
fail "ssh connect after login grace timeout failed with privsep"
fi
-kill `cat $PIDFILE`
+$SUDO kill `cat $PIDFILE`
trace "test login grace without privsep"
echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config