tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jean-Loup.Risler () genetique ! uvsq ! fr (Jean-Loup Risler)
To: tru64-unix-managers
Subject: [SUMMARY] Timezone
Date: Mon, 22 Sep 1997 14:26:56 +0000	[thread overview]
Message-ID: <96078617110509.tru64-unix-managers.marc@archive.invalid> (raw)

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@genetique.uvsq.fr  |
| 78035  Versailles Cedex France |                                  |
---------------------------------------------------------------------
Les cerveaux sont malencontreusement pourvus d'estomac (J. Perrin)

                 reply	other threads:[~1997-09-22 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox