mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-24 19:02:06 +00:00
- (dtucker) [regress/agent-ptrace.sh] Skip agent-test unless SUDO is set,
make agent setgid during test.
This commit is contained in:
parent
0d37b5ca7b
commit
ea4c670eb8
@ -1,6 +1,8 @@
|
||||
20031021
|
||||
- (dtucker) [INSTALL] Some system crypt() functions support MD5 passwords
|
||||
directly. Noted by Darren.Moffat at sun.com.
|
||||
- (dtucker) [regress/agent-ptrace.sh] Skip agent-test unless SUDO is set,
|
||||
make agent setgid during test.
|
||||
|
||||
20031017
|
||||
- (dtucker) [INSTALL] Note that --with-md5 is now required on platforms with
|
||||
@ -1369,4 +1371,4 @@
|
||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||
|
||||
$Id: ChangeLog,v 1.3084 2003/10/21 02:41:14 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.3085 2003/10/21 12:27:08 dtucker Exp $
|
||||
|
@ -5,7 +5,7 @@ tid="disallow agent ptrace attach"
|
||||
|
||||
if have_prog uname ; then
|
||||
case `uname` in
|
||||
Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*)
|
||||
CYGWIN*)
|
||||
echo "skipped (not supported on this platform)"
|
||||
exit 0
|
||||
;;
|
||||
@ -19,6 +19,15 @@ else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$SUDO" ; then
|
||||
echo "skipped (SUDO not set)"
|
||||
exit 0
|
||||
else
|
||||
$SUDO chown root ${OBJ}${SSHAGENT}
|
||||
$SUDO chgrp root ${OBJ}${SSHAGENT}
|
||||
$SUDO chmod 2755 ${OBJ}${SSHAGENT}
|
||||
fi
|
||||
|
||||
trace "start agent"
|
||||
eval `${SSHAGENT} -s` > /dev/null
|
||||
r=$?
|
||||
|
Loading…
Reference in New Issue
Block a user