[CentOS] Changing timezone

Fri Jun 16 14:59:23 UTC 2006
Adam Gibson <agibson at ptm.com>

Mike wrote:
> Tom Brown wrote:
>> How can i change the timezone on a 4.3 box? This used to be available 
>> using the 'setup' utility but seems not anymore.
>>
>> thanks
> I've always removed /etc/localtime and created a symbolic link to the 
> timezone file of choice.
> 
> ln -s /usr/share/zoneinfo/GMT /etc/localtime

Older versions of RedHat (6.x maybe) used to place a link instead of a 
copy of the zoneinfo file when configuring the timezone by default.  I 
wonder why they changed it to a copy.  Only thing I can think of is that 
if the timezone directory structure changes during an RPM update your 
localtime  link will stop working.  The disadvantage of the current copy 
behavior is that when the zoneinfo gets updated(like the new US Daylight 
changes next year) you have to manually go to all the servers and set 
the timezone again(manually or through the utility that comes with the 
RedHat/CentOS version you are using).