From owner-freebsd-questions Tue Aug 19 09:18:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA16226 for questions-outgoing; Tue, 19 Aug 1997 09:18:28 -0700 (PDT) Received: from clifford.inch.com (omar@clifford.inch.com [207.240.140.163]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA16218 for ; Tue, 19 Aug 1997 09:18:26 -0700 (PDT) Received: (from omar@localhost) by clifford.inch.com (8.8.5/8.8.5) id MAA03218; Tue, 19 Aug 1997 12:18:58 -0400 Message-ID: <19970819121857.26551@clifford.inch.com> Date: Tue, 19 Aug 1997 12:18:57 -0400 From: Omar Thameen To: freebsd-questions@freebsd.org Subject: How to set the time/date Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.65 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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