Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs
Secure Shell
/var/log/messages internal-sftp time stamp problem Jun 03 2009 04:42PM
Syy Bak (syybak googlemail com) (4 replies)
Re: /var/log/messages internal-sftp time stamp problem Jun 04 2009 12:15PM
Greg Wooledge (wooledg eeg ccf org) (2 replies)
Re: /var/log/messages internal-sftp time stamp problem Jun 05 2009 08:25AM
Syy Bak (syybak googlemail com)
2009/6/4 Greg Wooledge <wooledg (at) eeg.ccf (dot) org [email concealed]>:
> Running the internal sftp inside a chroot could definitely account for
> that.  Your operating system may have a file or a symbolic link
> somewhere in /etc which determines the default time zone; or it may
> just use the TZ environment variable.  They're all different.
>
> The absence of this inside the chroot would cause the chrooted processes
> to act as though they're running in UTC.
>

Hi Guys, thanks all of you for your input. Mistery solved.

It is enough to copy localtime into <chroot_dir>/etc and all is back
to normal and timestams are in correct timezone.

Cheers.
Syy

[ reply ]
Re: /var/log/messages internal-sftp time stamp problem Jun 04 2009 09:26PM
Dan Nelson (dnelson allantgroup com)
Re: /var/log/messages internal-sftp time stamp problem Jun 04 2009 04:21AM
Kosala Atapattu (kosala atapattu gmail com)
Re: /var/log/messages internal-sftp time stamp problem Jun 04 2009 01:10AM
John Bailey (rekkanoryo rekkanoryo org)
Re: /var/log/messages internal-sftp time stamp problem Jun 04 2009 12:17AM
Darren Tucker (dtucker zip com au)







 

Privacy Statement
Copyright 2009, SecurityFocus