I was able to build working openssh-3.7.1p1 on the Darwin-ppc-1.4 , 5.5, and 6.0 platform, by setting the following by hand in config.h. #define SETEUID_BREAKS_SETUID #define BROKEN_SETREUID #define HAVE_SETEUID 1 /* #undef HAVE_SETREUID 1 */ For Darwin-x86-6.6.1, it built with the following. #define SETEUID_BREAKS_SETUID /* #undef BROKEN_SETREUID */ #define HAVE_SETEUID 1 /* #undef HAVE_SETREUID 1 */ Here is what I get from configure. /* #undef SETEUID_BREAKS_SETUID */ /* #undef BROKEN_SETREUID */ #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 Without this change, the implementation for SETREUID is apparently broken in Darwin, which in turn breaks sshd. Sorry, if this is old news, which might be fixed in Darwin-7, but it would be good to have this working with the older versions of Darwin as well. I am not subscribed to this list, so if you want to contact me, please send directly to me. Regards, proclus http://www.gnu-darwin.org/ -- Visit proclus realm! http://proclus.tripod.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GMU/S d+@ s: a+ C++++ UBOULI++++$ P+ L+++(++++) E--- W++ N- !o K- w--- !O M++@ V-- PS+++ PE Y+ PGP-- t+++(+) 5+++ X+ R tv-(--)@ b !DI D- G e++++ h--- r+++ y++++ ------END GEEK CODE BLOCK------ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030918/2380fba5/attachment.bin