Time zones

From John Freier
Jump to: navigation, search

The time zones are set by creating a symbolic link to a timezone. So the file /etc/localtime should point to /usr/share/zoneinfo/.

To create the link,

>ln -sf /usr/share/zoneinfo/your/zone /etc/localtime
  • Note that {localtime} is a file, had a problem once because I set it to North Dakota, which was a folder and not a file, so all the timezone info in the folder wasn't being set, and defaulted the time to UTC which is the default hardware system time.


  • Note; if the localtime is not setup correctly it will default the timezone to UTC
  • Also you can check /etc/sysconfig/clock - but no idea what it really does???