Hello, I've compiled openssh 3.7.1p2 on a DG/UX machine, using openssl 0.9.7c, zlib-1.1.4, and tcp_wrappers7.6. ssh itself seems to function ok, but sshd does not appear to be functioning properly for non-root users. After connecting and providing a password, the connection is closed, and we appear to get 3 messages in syslog like the following: fatal: permanently_set_uid: was able to restore old [e]uid It appears this may be coming out of uidswap.c As I mentioned, this problem does *not* occur if I'm logging in as root. I don't know if this is relevent or not, but UsePrivilegeSeparation is set to no. Any ideas/suggestions on this? FYI, this problem only came up since 3.7.1p2. We had 3.6.1p2 installed previously (using openssl 0.9.7b), and it worked just fine. Thanks for any help/info you can provide. -Tom
Tom Orban wrote:> I've compiled openssh 3.7.1p2 on a DG/UX machine[snip]> fatal: permanently_set_uid: was able to restore old [e]uidAdd these to your config.h and recompile: #define SETEUID_BREAKS_SETUID 1 #define BROKEN_SETREUID 1 #define BROKEN_SETREGID 1 If that works, let us know and we'll make configure do it automatically. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Oops! Almost forgot to respond. BINGO! That fixed it. Thank you VERY MUCH!!! FYI, here's a uname from that machine: unix> uname -a dgux hostname R4.11MU05 generic AViiON mc88110 Thanks again. -Tom>>> Darren Tucker <dtucker at zip.com.au> 12/12/03 11:04PM >>>Tom Orban wrote:> I've compiled openssh 3.7.1p2 on a DG/UX machine[snip]> fatal: permanently_set_uid: was able to restore old [e]uidAdd these to your config.h and recompile: #define SETEUID_BREAKS_SETUID 1 #define BROKEN_SETREUID 1 #define BROKEN_SETREGID 1 If that works, let us know and we'll make configure do it automatically. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.