Date: Tue, 19 Aug 1997 13:01:00 -0500 (CDT) From: "M. L. Dodson" <bdodson@beowulf.utmb.edu> To: freebsd-questions@FreeBSD.ORG, omar@clifford.inch.com Subject: Re: How to set the time/date Message-ID: <199708191801.NAA00985@beowulf.utmb.edu>
next in thread | raw e-mail | index | archive | help
> Hi All, > > For a while, I've been wondering what the deal is with getting the time > set properly on our servers, taking into account timezone and whatnot. > Here's what I did on a 2.2.2 machine: > > 1) Set the time in the BIOS. I'm using the local time there. > 2) As root, run the command /usr/sbin/tzsetup. It'll ask you whether > the BIOS time is local or GMT, etc. This creates the file > /etc/localtime. > 3) Make sure /etc/localtime is world-readable so that your users and > non-root processes (like httpd's) can read it. Mine was created > root readable only, probably because of the umask. > 4) Reboot. > > Question: If I use GMT in the BIOS and set the local timezone info to > EDT, do I never have to worry about daylight savings time? > > Omar > If you use GMT in the BIOS, (any) Unix will take care of all the details for you, including DST. The default of any Unix is GMT. (All this assuming you don't live in some remote part of the world for which Unix does not have a DST algorithm defined. In fact, I don't think there is such a place.) So your life becomes much simplier if you set your BIOS to GMT. -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708191801.NAA00985>
