From 8eff319298d980ed50b9ec681a2f97d3ed5fb6d1 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Tue, 25 Jun 2002 15:35:15 -0700 Subject: [acconfig.h configure.ac sshd.c] BROKEN_FD_PASSING fix from Markus for Cygwin, Cray, & SCO --- sshd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index 025f71101..18df8ab8f 100644 --- a/sshd.c +++ b/sshd.c @@ -613,7 +613,11 @@ privsep_postauth(Authctxt *authctxt) /* XXX - Remote port forwarding */ x_authctxt = authctxt; +#ifdef BROKEN_FD_PASSING + if (1) { +#else if (authctxt->pw->pw_uid == 0 || options.use_login) { +#endif /* File descriptor passing is broken or root login */ monitor_apply_keystate(pmonitor); use_privsep = 0; -- cgit v1.2.3