Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!vicki From: vicki@Apple.COM (Vicki Brown) Newsgroups: comp.unix.aux Subject: Re: Time Zone trouble... Message-ID: <7859@apple.Apple.Com> Date: 7 Apr 88 18:12:55 GMT References: <18918@think.UUCP> Reply-To: vicki@apple.UUCP (Vicki Brown) Organization: Apple Computer Inc, Cupertino, CA Lines: 25 In article <18918@think.UUCP> whitney@think.UUCP (David Whitney) writes: >Be sure that all .login files are changed to use EST5EDT. Also, change >/etc/sysinitrc (it's in there somewhere as well). > > If you have Release 1.0 of A/UX, full information on setting timezones properly can be found in /README, the on-line release notes. Briefly, the idea is this. Timezones are determined by files in /etc/zoneinfo. One file, /etc/zoneinfo/localtime, is a link to your specific time zone file. As shipped the link is to /etc/zoneinfo/PST8PDT for Pacific Coast time. If you remove /etc/zoneinfo/localtime and remake the link to another zone file (e.g. EST5EDT), you will be set for Eastern time. The catch is that the TZ environment variable overrides the value of /etc/zoneinfo/localtime. You will need to locate and change (or remove) all references to TZ in system run commands files (/.[lcp]*, /etc/profile, /etc/*rc). If you remove all references to TZ, everywhere, and make the localtime link properly, your A/UX system should always report the correct timezone. -- Vicki Brown A/UX Engineering vicki@apple.com (all opinions are my own and do not necessarily reflect those of my employer)