[Bug 810] TZ environment variable not being set

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Mar 8 23:20:29 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=810

           Summary: TZ environment variable not being set
           Product: Portable OpenSSH
           Version: -current
          Platform: MIPS
        OS/Version: IRIX
            Status: NEW
          Severity: normal
          Priority: P3
         Component: sshd
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: Al.Smith at aeschi.ch.eu.org


TZ is set and exported at the time when sshd is started.

However, by the time one arrives at line 1029 in session.c where
TZ is supposed to be propagated to the child's environment it is
no longer set. All users of the machine are thus destined to live
in GMT.

Maybe the setting of environ[0] to NULL at line 1111 of sshd.c should at
least try and preserve $TZ for future use?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list