Time Zone trouble...

Vicki Brown vicki at Apple.COM
Fri Apr 8 04:12:55 AEST 1988


In article <18918 at think.UUCP> whitney at 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 at apple.com

(all opinions are my own and do not necessarily reflect those of my employer)



More information about the Comp.unix.aux mailing list