Thursday, April 2, 2015

Fix time stamp for chroot sftp user which are showing wrong time stamp


Install/update tzdata
yum update tzdata

copy the time zone file to your  chrooted user home directory in etc.

cd /home/chrootuser
mkdir etc

cp /etc/localtime .
cp /usr/share/zoneinfo/America/New_York /home/chrootuser/etc/

1 comment: