Changing Timezones in SunOS 4.0

Danielle Heinzer ESC1298 at ESOC.BITNET
Fri Jan 13 02:09:25 AEST 1989


Hi, David

I had the same problem as you as I installed SunOS 4.0.  The timezone
definition is not in the kernel configuration file anymore.

The current TimeZone is given by the file:
/usr/share/lib/zoneinfo/localtime.

If you do a 'ls /usr/share/lib/zoneinfo', you will see all the timezones
that the system knows.

For instance, I had installed the Operating System with TimeZone=MET. I
had to change it to GMT.

I did the following as superuser:
     cd /usr/share/lib/zoneinfo
     rm localtime
     ln -s localtime GMT

I don't remember, but I think it acts immediately. You don't need to
reboot.

Regards,

Danielle Heinzer
ESA Computer Department/Computer Services
European Space Operations Centre
Robert-Bosch-str. 5
6100 Darmstadt
West-Germany
Tel int : 49-6151-886540



More information about the Comp.sys.sun mailing list