fedor@dsg.csc.ti.com (Lee Fedor) (02/09/90)
It seems that there should be a easy way to change what timezone a system is set to. We recently had one of our systems move with our user from the East coast to the Central TimeZone. Is there an easy way to change the system, other than going through a Suninstall to get the timezone correctly set? And while we are on the subject of bothersome questions, is there an easy way to disable shutdown messages from popping up in all of the windows that you have open? We are running 4.0.3 on sparc systems and running X11R3. mesg n does not shut off the messages about a system going down. Is that because root can always overwrite? It seems that there should be someway that you could direct those messages to come up in the console window only. I appreciate any help you can give me, and will post results. Lee Fedor System Administrator Texas Instruments Austin, Texas (512)250-7573 fedor@dsg.csc.ti.com
fedor@dsg.csc.ti.com (Lee Fedor) (02/13/90)
Many thanks to all who responded. I was able to reset the timezone very painlessly with the help I received. /usr/share/lib/zoneinfo has a file called localtime. You remove that file and make a link to the correct timezone in that same directory. In my case it was: ln CST6CDT localtime. Thanks to : Rick Ohnemus rick@ssbell.IMD.Sterling.Com Bill Wisner wisner@hayes.fai.alaska.edu Bob Watson watson@spot.Eng.Sun.COM Graham Carpenter - G.Carpenter@ee.surrey.ac.uk Mark Hall foo@rice.edu Michael S. Maiten ensys!msm@ti-csl.csc.ti.com Daniel Trinkle trinkle@cs.purdue.edu Martyn Shortley martyn%med-image.compsci.bristol.ac.uk@NFSnet-relay.AC.UK Guy Harris guy@auspex.com let me know of another way to change the timezone using zic -l <new zone name> Again, Thanks to all Lee Fedor fedor@dsg.csc.ti.com
phil@grumpy.cgrg.ohio-state.edu (Phil Ritzenthaler) (03/20/90)
Lee Fedor <fedor@dsg.csc.ti.com> in Feb reported a problem about timezones and
the solutions.
I am having a different but maybe related problem.  I have Sun 3's and 4's
being served off of a Sun 4/280S.  Since the /usr/share/lib/zoneinfo
directory is in the 'share' file system, both the 3's and 4's use the same
files.  All has been OK, until a couple of months ago.
If you remeberthe booting procedure, after you try to preform the disk
checks (fsck), it prints a date.  From grep'ing around, I assume it is
done in rc:
	if [ -r /fastboot ]; then
	        rm -f /fastboot
	elif [ $1x = autobootx ]; then
	        (echo Automatic reboot in progress...)		>/dev/console
	else
	        (echo Multiuser startup in progress...)		>/dev/console
	fi
	date >/dev/console
Later (after booting and just before the login prompt), it again prints
out the date.  The problem I am having is that the dates DON'T MATCH!!
One is written in GMT while the other is in EST.  Anytime you look at
files created, they are created using the GMT time, executing date gives
you EST.  I have checked the  file EST5EDT in /usr/share/lib/zoneinfo/, I
have recompiled using 'zic' the file northamerica in
/usr/share/lib/zoneinfo/, I have excuted the 'zic -l EST5EDT' line to try
and force localtime to be EST5EDT.
So far, nothing has worked.  What have I missed?  H E L P!!!!!
Phil Ritzenthaler  The Advanced Computing Center for the Arts & Design (ACCAD)
Systems Manager    The Ohio State University
                   UUCP: ...!{pyramid,killer}!grumpy.cgrg.ohio-state.edu!phil
(614) 292-3416     ARPA: phil@grumpy.cgrg.ohio-state.edu