[SUMMARY] Timezone

From: Jean-Loup Risler <Jean-Loup.Risler_at_genetique.uvsq.fr>
Date: Mon, 22 Sep 1997 16:26:56 +0200 (MET DST)

Dear Gurus,

My problem: after having started xntpd, my timezone shifted from MET to WET.
My question was: how can I set the timezone?

Thanks to Alessandro Brunengo, Kristin (Kris) Larsen and John Seel who gave
me the solution. I did what John said (included below), now I am back to
MET and "date" gives the correct time.

This does not explain why ntpsetup modified the time zone. When the script
lauches xntpd, it says : "Setting kernel timezone variable". Does this mean
that ntpsetup chooses WET by default, ignoring the previous setting?

------------ John Seel's answer -------------

In /etc/zoneinfo there is a file called localtime that is symbolically
linked to a file in /etc/zoneinfo/<region>/<timezone>

ie: localtime --> ./US/Eastern

To change:
# cd /etc/zoneinfo
#ls -l localtime
should be: localtime -->./US/Eastern (or whatever the present timezone is)
#rm localtime
#ln -s /etc/zoneinfo/US/Central localtime
#ls -l localtime
should now be: localtime -->./US/Central (or whatever timezone it was
changed to)

-------------------------------------------------

Cheers,

Jean-Loup
---------------------------------------------------------------------
| Jean-Loup Risler | |
| Universite de Versailles | Tel: 33 (0)1 39 25 45 54 |
| Lab. Genome et Informatique | Fax: 33 (0)1 39 25 45 69 |
| Batiment Buffon | |
| 45 Avenue des Etats-Unis | email: risler_at_genetique.uvsq.fr |
| 78035 Versailles Cedex France | |
---------------------------------------------------------------------
Les cerveaux sont malencontreusement pourvus d'estomac (J. Perrin)
Received on Mon Sep 22 1997 - 16:40:44 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT