ntpdate and Israel local time

ntpdate and Israel local time

Guy Sheffer guysoft42 at gmail.com
Fri May 28 00:13:07 IDT 2010


In Debian/Ubuntu you can use:
$ tzselect
Then when you got that set up run (as root):
$ ntpdate-debian



On 5/27/10, Oron Peled <oron at actcom.co.il> wrote:
> On Thursday, 27 בMay 2010 21:50:12 geoffrey mendelson wrote:
>> On May 27, 2010, at 9:37 PM, Dan Shimshoni wrote:
>> > ...
>> > However, there is a server at my work place which I am responsible
>> > for. When I run:
>> > ntpdate -s ntpserver.huji.ac.il
>> > it sets the time to 7 hours earlier (I mean, instead 19:00, it is
>> > 12:00).
>> ...
>> /etc/localtime is set to EST/EDT (US east coast)
>>
>> ln -s /usr/share/zoneinfo/Asia/Jerusalem /etc/localtime
>>
>> Note that UBUNTU (and possibly debian) use a hard link or a copy of
>> the file instead of symlink.
>
> RedHat/Centos/Fedora also create a copy and for a good reason: /usr
> may be on a separate partition, in which case /etc/localtime is a
> dangling link during early boot phases until /usr is mounted.
>
> --
> Oron Peled                                 Voice: +972-4-8228492
> oron at actcom.co.il                  http://users.actcom.co.il/~oron
> "Copyright protects Software. Patents protect Software Monopolies."
>         http://swpat.ffii.org/
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>



More information about the Linux-il mailing list