sshd 3.7p1 dies on MacOSX

Tim Rice tim at multitalents.net
Thu Sep 18 11:31:08 EST 2003


The attached patch will do the trick.

On Wed, 17 Sep 2003, Darren Tucker wrote:

> Jacques Distler wrote:
> > On Wednesday, September 17, 2003, at 01:38  AM, Darren Tucker wrote:
> > 
> > > Jacques Distler wrote:
> > >>    debug1: permanently_set_uid: 17/17
> > >>    setuid 17: Operation not permitted
> > >>    debug1: Calling cleanup 0x24c8c(0x0)
> > >
> > > Please try adding "#define SETEUID_BREAKS_SETUID 1" to config.h and
> > > recompiling.
> [didn't help]
> 
> What are the SET*ID defines in config.h?
> Try "egrep 'SET.*ID' config.h" or whatever that translates to on MacOS X.
> 
> 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net
-------------- next part --------------
--- openssh/configure.ac.old	2003-09-15 22:40:49.000000000 -0700
+++ openssh/configure.ac	2003-09-17 11:36:14.528240062 -0700
@@ -131,6 +131,9 @@
 }], [AC_MSG_RESULT(working)],
 	[AC_MSG_RESULT(buggy)
 	AC_DEFINE(BROKEN_GETADDRINFO)],
+	AC_DEFINE(SETEUID_BREAKS_SETUID)
+	AC_DEFINE(BROKEN_SETREUID)
+	AC_DEFINE(BROKEN_SETREGID)
 	[AC_MSG_RESULT(assume it is working)])
 	;;
 *-*-hpux10.26)


More information about the openssh-unix-dev mailing list