diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/agent-ptrace.sh | 11 |
2 files changed, 13 insertions, 2 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20031021 | 1 | 20031021 |
2 | - (dtucker) [INSTALL] Some system crypt() functions support MD5 passwords | 2 | - (dtucker) [INSTALL] Some system crypt() functions support MD5 passwords |
3 | directly. Noted by Darren.Moffat at sun.com. | 3 | directly. Noted by Darren.Moffat at sun.com. |
4 | - (dtucker) [regress/agent-ptrace.sh] Skip agent-test unless SUDO is set, | ||
5 | make agent setgid during test. | ||
4 | 6 | ||
5 | 20031017 | 7 | 20031017 |
6 | - (dtucker) [INSTALL] Note that --with-md5 is now required on platforms with | 8 | - (dtucker) [INSTALL] Note that --with-md5 is now required on platforms with |
@@ -1369,4 +1371,4 @@ | |||
1369 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1371 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1370 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1372 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1371 | 1373 | ||
1372 | $Id: ChangeLog,v 1.3084 2003/10/21 02:41:14 dtucker Exp $ | 1374 | $Id: ChangeLog,v 1.3085 2003/10/21 12:27:08 dtucker Exp $ |
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh index cd9c0023d..66c8dbc58 100644 --- a/regress/agent-ptrace.sh +++ b/regress/agent-ptrace.sh | |||
@@ -5,7 +5,7 @@ tid="disallow agent ptrace attach" | |||
5 | 5 | ||
6 | if have_prog uname ; then | 6 | if have_prog uname ; then |
7 | case `uname` in | 7 | case `uname` in |
8 | Linux|HP-UX|SunOS|NetBSD|AIX|CYGWIN*) | 8 | CYGWIN*) |
9 | echo "skipped (not supported on this platform)" | 9 | echo "skipped (not supported on this platform)" |
10 | exit 0 | 10 | exit 0 |
11 | ;; | 11 | ;; |
@@ -19,6 +19,15 @@ else | |||
19 | exit 0 | 19 | exit 0 |
20 | fi | 20 | fi |
21 | 21 | ||
22 | if test -z "$SUDO" ; then | ||
23 | echo "skipped (SUDO not set)" | ||
24 | exit 0 | ||
25 | else | ||
26 | $SUDO chown root ${OBJ}${SSHAGENT} | ||
27 | $SUDO chgrp root ${OBJ}${SSHAGENT} | ||
28 | $SUDO chmod 2755 ${OBJ}${SSHAGENT} | ||
29 | fi | ||
30 | |||
22 | trace "start agent" | 31 | trace "start agent" |
23 | eval `${SSHAGENT} -s` > /dev/null | 32 | eval `${SSHAGENT} -s` > /dev/null |
24 | r=$? | 33 | r=$? |