From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078617110509.tru64-unix-managers.marc@archive.invalid> From: Jean-Loup.Risler () genetique ! uvsq ! fr (Jean-Loup Risler) Date: Mon, 22 Sep 1997 14:26:56 +0000 To: tru64-unix-managers Subject: [SUMMARY] Timezone X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078617110509 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// 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)