Q

How can I reset the time zone on my mail server?

We have a Solaris on x86 running our Secondary Mail Server in India. Currently the TimeZone is set as GMT+5. However we need to set the TimeZone corresponding to India (Asia/Calcutta, or GMT+ 5.30 hrs). How can we set the same?

The OS is SunOS 5.8 Generic_108529-01 i86pc i386 i86pc.
It's a simple two step procedure.

  1. Edit /etc/default/init to TZ=Asia/Calcutta.
  2. Reboot the box.
That should do the trick.

Good luck!

This was last published in June 2003

Dig Deeper on Introduction to Linux system administration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close