[CentOS] system-config-date-tui ??

Michael A. Peters mpeters at mac.com
Mon Apr 6 18:57:29 UTC 2009


Remote box keeps reverting the localtime to Eastern (America/New_York).

cd /etc
rm localtime && ln -s /usr/share/zoneinfo/UTC localtime

fixes it - but it seems to revert from time to time, I presume from yum 
updates (or possibly an init script ??)

In /etc/sysconfig there is a config file for it. I'd rather not manually 
edit it, it looks simple enough, but I'd rather use the tool if there is 
one.

system-config-date wants to pull in ~ 20MB of stuff I don't want that 
looks like it is needed for a gui config tool, but yum can't find a 
system-config-date-tui alternative.

Is there a text UI / console alternative, and what it is called?

If not, where is the format for /etc/sysconfig/clock specified?

Install is a xen image (originally CentOS 5.0), so selecting the desired 
local time at install wasn't an option.

Right now it says:

ZONE="America/New_York"
UTC=false
ARC=false

Would changing ZONE to

ZONE="UTC"

be enough to keep my desired UTC localtime?


More information about the CentOS mailing list