Summary: resetting the Time Zone in SunOS4.1.4

From: David L. Elliott (delliott@Glue.umd.edu)
Date: Sun Jun 16 1996 - 14:28:09 CDT


This is one of those things that should be in installation manuals, "apropos"
or the AnswerBook, but it wasn't.
Thanks to the several kind people who replied,
John Mendenhall -- jem@electriciti.com
"Shannon Daily" <shannond@abacus.com>
Shaun Welch <swelch@home.net>
Casper Dik <casper@holland.Sun.COM>
miked@fujitsu.com.au (Mike Daffey)
tjb839@zacatecas.optimum.com (Tim Boemker)

I've been given two good solutions. The one I used was suggested by Casper Dik,
Both start with su root of course--
zic -l <timezone> for example
zic -l EST5EDT to set my system to (US) Eastern Daylight time. This use of

zic is in the man pages, but at the very end and not in the "apropos" summary.
The second -- and here I'll quote Mendenhall, is a bit more illuminating:

cd /usr/share/lib/zoneinfo
rm localtime
ln /usr/share/lib/zoneinfo/<timezonefile> localtime

because as Mike Daffey says,
/usr/share/lib/zoneinfo/localtime is the
default compiled timezone file. It's either copied from or linked to
the appropriate file.

With thanks to all, including the Moderator--

David

        

-- 
David L. Elliott, Vis. Sr. Res. Sci.     
Institute for Systems Research/ A.V. Williams Building
University of Maryland/ College Park, MD 20742
(Prof. Emeritus, Washington University)                  delliott@ISR.umd.edu



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:01 CDT