3

In Centos 5.x there is the text mode interface of system-config-date to set the time zone. Although that utility still exists in Centos 6 the text mode is gone. Is there anything similar in Centos 6?

4

/etc/localtime controls the system timezone. It's just a symlink to one of the timezone files in /usr/share/zoneinfo.

ln -sf /usr/share/zoneinfo/your/zone /etc/localtime
  • That's what i had already done. It is not what I asked for. – Clodoaldo Aug 9 '11 at 12:35
  • I think this is the right answer, but @Clodoaldo your question may actually how to make the change ACTIVE without rebooting. Changing the file only affects future environments, the stuff that is already running already thinks it knows what time it is. See this question for related issues: How to make an Ubuntu time zone change stick? – Caleb Aug 9 '11 at 20:04
  • @Caleg "I think this is the right answer" It is not. That answer is all around the net and it is an answer for another question. "your question may actually how" No, my question is exactly what was stated. If you think the information you posted is important, and I think it is, create your own question and answer it yourself. You will earn points for that. – Clodoaldo Aug 10 '11 at 10:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.