RE: ****Changing the Time Zone

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryan O'Neal
Date:  
To: Main PLUG discussion list
Subject: RE: ****Changing the Time Zone
The hardware clock is already set to UTC. I realize that I could set it
forward 7 hours and have my timezone set it back seven but that is
nasty. Unless you can use this somehow with hctosys to not only set the
time but also change the time zone... Though the man does mention the
command tzset, and that looks promising. I will let you know.


-----Original Message-----
From:
[mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Eric
Shubert
Sent: Tuesday, September 16, 2008 6:59 PM
To: Main PLUG discussion list
Subject: Re: ****Changing the Time Zone

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:
>> [mailto:plug-discuss-bounces@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'
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

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