tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] Timezone
@ 1997-09-22 14:26 Jean-Loup.Risler
  0 siblings, 0 replies; only message in thread
From: Jean-Loup.Risler @ 1997-09-22 14:26 UTC (permalink / raw)
  To: tru64-unix-managers

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-09-22 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-22 14:26 [SUMMARY] Timezone Jean-Loup.Risler

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