Red Hat Topics - Please help to correct the time

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > May 2005 > Please help to correct the time





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Please help to correct the time
Masoud Pajoh

2005-05-14, 1:04 pm

Hi:
Here are the command outputs:
under root:
root>> date
Sat May 7 08:45:34 CDT 2005
root>> clock
Sat 07 May 2005 08:46:12 AM CDT -0.255696 seconds
These results are correct.

under user:
user>> date
Sat May 7 13:40:14 UTC 2005 <=== this is in UTC
user>> clock
Sat 07 May 2005 08:40:07 AM UTC -0.260498 seconds <=== this should say
CST instead of UTC

I realized this because the file time stamps were incorrect.

Here is /etc/sysconfig/clock, it is correct.
root>> cat /etc/sysconfig/clock
ZONE="America/Chicago"
UTC=false
ARC=false

How can correct this?
Any help, or pointing to a readme file will be appreciated, I have googled
to no avail.
I use RH9 with all the updates.

Thanks:
Masoud
Markku Kolkka

2005-05-14, 1:04 pm

Masoud Pajoh wrote:
> under root:
> root>> date
> Sat May 7 08:45:34 CDT 2005
> root>> clock
> Sat 07 May 2005 08:46:12 AM CDT -0.255696 seconds
> These results are correct.
>
> under user:
> user>> date
> Sat May 7 13:40:14 UTC 2005 <=== this is in UTC
> user>> clock
> Sat 07 May 2005 08:40:07 AM UTC -0.260498 seconds <=== this should
> say CST instead of UTC
> How can correct this?


See that /etc/localtime exists and is readable by all users.

--
Markku Kolkka
markku.kolkka@iki.fi
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com