Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 1997 12:18:57 -0400
From:      Omar Thameen <omar@clifford.inch.com>
To:        freebsd-questions@freebsd.org
Subject:   How to set the time/date
Message-ID:  <19970819121857.26551@clifford.inch.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970819121857.26551>