diff options
author | Tim Rice <tim@multitalents.net> | 2010-08-12 09:43:13 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2010-08-12 09:43:13 -0700 |
commit | 722b8d14f17f6471ef9b746f8b5942e1c7940d32 (patch) | |
tree | d4bb5f81688510e3478e2a0ba21db1c5d0ceccc6 /regress/login-timeout.sh | |
parent | 02c47341a2d0bd03411f6e00c74fb7ddd9b03986 (diff) | |
download | openssh-git-722b8d14f17f6471ef9b746f8b5942e1c7940d32.tar.gz |
- (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh
regress/test-exec.sh] Under certain conditions when testing with sudo
tests would fail because the pidfile could not be read by a regular user.
"cat: cannot open ...../regress/pidfile: Permission denied (error 13)"
Make sure cat is run by $SUDO. no objection from me. djm@
Diffstat (limited to 'regress/login-timeout.sh')
-rw-r--r-- | regress/login-timeout.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh index 15a887f7..55fbb324 100644 --- a/regress/login-timeout.sh +++ b/regress/login-timeout.sh @@ -15,7 +15,7 @@ if [ $? -ne 0 ]; then fail "ssh connect after login grace timeout failed with privsep" fi -$SUDO kill `cat $PIDFILE` +$SUDO kill `$SUDO cat $PIDFILE` trace "test login grace without privsep" echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config |