Weird TZ Behavior in 4.1p1 and 4.3p2 on AIX
Strickler, Scott - Scott F
vc.Scott.F.Strickler at Lowes.com
Wed Sep 13 00:37:58 EST 2006
Hi,
I am using PAM authentication on 3.8p1. In my PAM auth module I can
turn on debug logging that includes a timestamp in the form "mm/dd/yy
hh:mm:ss". Life is good.
I want to upgrade from 3.8p1 so I can use PAM for PasswordAuthentication
in addition to keyboard-interactive. I have compiled both 4.1p1 and
4.3p2 and the PAM authentication for both methods works fine in both
releases, but I have a weird annoyance in the logging. The timestamp
code appears to be ignoring the TZ setting. Here is a snippet from the
logfile where I changed back and forth from 3.8p1 and 4.1p1 as I logged
in ~ 9:30 this morning:
09/12/06 09:34:52 username hostname.xxxxx.com
09/12/06 09:35:02 username authenticating locally
09/12/06 09:35:02 username local authentication succeeded
09/12/06 13:35:21 username hostname.xxxxx.com
09/12/06 13:35:25 username authenticating locally
09/12/06 13:35:25 username local authentication succeeded
09/12/06 09:36:07 username hostname.xxxxx.com
09/12/06 09:36:12 username authenticating locally
I found that commenting out "environ[0] = NULL;" in pam-auth.c fixed the
TZ problem, but created others.
Any suggestions?
Scott Strickler
***** Please note: The Sender of this email is either a Contractor or Vendor of Lowe's Companies, Inc. and is not an employee or agent of Lowe's Companies Inc. *****
More information about the openssh-unix-dev
mailing list