|
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) 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 |
> On Wed, Jun 03, 2009 at 05:42:23PM +0100, Syy Bak wrote:
> > internal-sftp subsystem are one hour behind systems clock as if
> > internal-sftp subsystem would only observe UTC (GMT) time zone without
> [...]
> > not sure sure if this is something to do with chrooting)?
>
> 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.
Shouldn't sshd still have the timezone information from before it chrooted,
though? Internal-sftp doesn't exec a new process, so as long as it called
some function that read /etc/localtime before the chroot it should know the
correct timezone.
--
Dan Nelson
dnelson (at) allantgroup (dot) com [email concealed]
[ reply ]