Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!apexepa!orac!pat From: pat@orac.pgh.pa.us (Pat Barron) Newsgroups: comp.unix.questions Subject: Re: how to set timezone in BSD Message-ID: <208@orac.pgh.pa.us> Date: 22 Feb 90 06:01:07 GMT References: <24337@princeton.Princeton.EDU> Reply-To: pat@orac.pgh.pa.us (Pat Barron) Distribution: na Organization: Pat's 3b1 Lines: 36 In article <24337@princeton.Princeton.EDU> tr@samadams.princeton.edu (Tom Reingold) writes: >How do you set the timezone on a BSD system? It defaults to Pacific >time. > >I am running AOS, IBM's port of BSD for the RT, which is very close >to the real thing. In /sys/conf/, you will find a line that looks like: timezone 8 dst The "8" is the number of hours that your time zone is West of GMT. Change this to the appropriate thing (e.g., for Eastern time, you would change it to "5"), and rebuild the kernel (i.e., do: % cd /sys/conf % /etc/config % cd ../ % make depend % make which produces a vmunix file - move this to /vmunix [but do remember to save a copy of the old /vmunix first! Copy it to something like /vmunix.old], and reboot). >Please *post* the answer, don't mail it. Why? This is pretty basic stuff - and it's even documented. It's exactly how you do it for real 4.3BSD. --Pat. -- Pat Barron Internet: pat@orac.pgh.pa.us - or - orac!pat@gateway.sei.cmu.edu UUCP: ...!uunet!apexepa!sei!orac!pat - or - ...!pitt!darth!orac!pat