The /etc/localtime file is the file that defines the timezone. This file can be a copy of the file from /usr/share/zoneinfo (which in your case it probably is) or a symlink. To change the timezone all you need to do is copy the correct file from /usr/share/zoneinfo to /etc/localtime or make /etc/localtime a symlink to /usr/share/zoneinfo. If you decide to use a symlink /usr should probably not be a mounted filesystem.

Brant Evans


On Tue, Sep 16, 2008 at 6:31 PM, Bryan O'Neal <BONeal@cornerstonehome.com> wrote:

I have an FC/Redhat/CentOS box and I would like to change my time zone for the entire system and all users to UTC; date –u seems to only changes the individual users zone.  And, since I don't have a GUI on my box I can not use system-config-time.  So, I was thinking /etc/localtime should be a simlink to the time zone in /usr/share/zoneinformation rite?  I can just change that with a new symlink, rite? But the file I have in /etc/localtime is a small binary file and that made me nervous.  Then I thought, setup, how much more basic could I get!  But it does not have a time zone option, only Authentication and System Services.

 

Any suggestions?


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss