****Changing the Time Zone

Eric Shubert ejs at shubes.net
Tue Sep 16 18:58:59 MST 2008


Craig White wrote:
> Hi,
> 
> On Tue, 2008-09-16 at 18:48 -0700, Bryan O'Neal wrote:
>> I do not have any system-config tools.  I know I can get them with a
>> GNOME install, but that is a bit heavy handed.
>>
>> -----Original Message-----
>> From: plug-discuss-bounces at lists.plug.phoenix.az.us
>> [mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
>> Craig White
>> Sent: Tuesday, September 16, 2008 6:41 PM
>> To: Main PLUG discussion list
>> Subject: Re: ****Changing the Time Zone
>>
>> On Tue, 2008-09-16 at 18:31 -0700, Bryan O'Neal 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. 
>> ----
>> system-config-date
>>
> ----
> in that case...
> 
> # cat /etc/sysconfig/clock
> # The ZONE parameter is only evaluated by system-config-date.
> # The timezone of the system is defined by the contents
> of /etc/localtime.
> ZONE="America/Phoenix"
> UTC=true
> ARC=false
> 
> But I don't know what, other than a restart, would cause the system to
> re-read this configuration file.
> 
> Craig
> 

man hwclock

-- 
-Eric 'shubes'


More information about the PLUG-discuss mailing list