[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] set localtime
From: |
Apostolis Nanis |
Subject: |
Re: [Jailkit-users] set localtime |
Date: |
Wed, 3 Aug 2011 07:09:27 +0300 |
Hello Olivier
I found an easy solution for this on a Debian squeeze server with
ispconfig control panel.
First I set correct time with dpkg-reconfigure tzdata
Then i simply cp /etc/localtime to jailed user's /etc as
root
cp /etc/localtime /var/www/clients/client1/
mysite/etc/localtime
After i execute date and it is
worked for me fine!!
I have another problem now.
I set locales to en_US utf8 and el_GR utf8 as root with
dpkg-reconfigure locales and the language switch with Alt+Shift works
fine as root or any other unjailed usser. I can see and write greek
character in console.
But in jailed users console i cannot see correctly greek characters
and i cannot write them. I only see ieroglyphics or write nouns! Can
you please suggest me a solution. Thank you for your time. Tolis
2011/8/2, Olivier Sessink <address@hidden>:
> On 08/02/2011 08:44 AM, Apostolis Nanis wrote:
>> Hello
>> i found this
>> http://lists.nongnu.org/archive/html/jailkit-users/2008-04/msg00002.html
>> can you be more detailed ? thank you
>
> Use jk_cp to copy all the files in /usr/share/zoneinfo and /etc/timezone
> to the jail. That will make the jail use the same timezone as the real
> system.
>
> Olivier
>
> --
> Blog http://oli4444.wordpress.com/
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/jailkit-users
>
--
Εστάλη από την κινητή συσκευή μου
Apostolis Nanis