SUMMARY: Changing the sytem time zone

From: Tim Tsao (tim@cowboys.anet-dfw.com)
Date: Tue Feb 04 1997 - 16:01:39 CST


My original question was:

Hello, Gurus:

A question about setting the system time in Solaris 2.5.

If we want to change the time zone, for example, from Central
to GMT, we can edit the /etc/default/init file and make change
accordingly. However, the new time zone wouldn't take effect
until I reboot the system.

I'm wondering is there anyway that after modifying this file
I can get the new time zone without rebooting the system?
(Please note: not through the clock window, which only "display"
the time, not actually changing the system time zone.)

Thanks in advance.

Sincerely,

================================================================

The answer to the question is: Nope!

The value from /etc/default/init is read into the environment by the init
process and inherited by all other processes from there.

And that's exactly why you need to reboot.



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