Changing the Time Zone

Bryan O'Neal BONeal at cornerstonehome.com
Thu Sep 25 18:10:02 MST 2008


It was not a copy or a symlink of any of the files in /usr/share.  But I
blew it away any way and coped in the UTC file and thing went fine.
Thanks for the help.

 

________________________________

From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
Brant Evans
Sent: Thursday, September 18, 2008 7:54 PM
To: Main PLUG discussion list
Subject: Re: Changing the Time Zone

 

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 at 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 at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080925/f67260ae/attachment.htm 


More information about the PLUG-discuss mailing list