sum][one wrote:damn..i just checked it and it happens here too..
i compiled that SSH myself..
when i ssh to my origin the date shows GMT as timezone while i'm set to CET
Subject: Re: environ problem in 3.8p1
From: Darren Tucker <dtucker () zip ! com ! au>
Date: 2004-03-12 12:37:13
Message-ID: <4051AEF9.7090702 () zip ! com ! au>
[Download message RAW]
Roger Cornelius wrote:
> 3.8p1 added the following to main() in sshd.c:
> #ifndef HAVE_CYGWIN
> /* Clear environment */
> environ = NULL;
> This breaks the getenv("TZ") in session.c and causes logins to occur in
> GMT time. It also causes any sshd syslog messages to be written in GMT
> time. I'm on SCO Openserver 5.0.7, but this looks like it should affect
> all platforms. Am I missing something? I haven't seen it reported
That was an attempt to fix issues with certain authentication types on
AIX, but it causes other problems, as you found. The change has been
backed out, and an alternative fix for the AIX issues has been
implemented. (Both will be in the next release, and are in the
Thanks for the report.
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.
nekonoko wrote:Rather than pull the latest snapshot I just deleted the nasty "environ = NULL;" crud shown above, recompiled and everything is back to normal.
- (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some
platforms (eg SCO, HP-UX) with logging in the wrong TZ. ok djm@
- (dtucker) [acconfig.h configure.ac defines.h] Bug #820: don't use
updwtmpx() on IRIX since it seems to clobber utmp. ok djm@
Users browsing this forum: No registered users and 1 guest