[ntp:questions] Timezone question/problem

Brad Knowles brad at stop.mail-abuse.org
Sun Nov 7 20:49:40 UTC 2004


At 12:21 AM -0600 2004-11-07, Jeff Hobson wrote:

>  Running as root with ntpd running, the time is being set to UTC. My TZ is
>  set to CST6CDT. If I connect to a local timeserver with rdate -s
>  192.168.1.10, the time is set back to the correct (+/-) local time. About 10
>  minutes later, it is back to UTC

	Remember, when it comes to timezones, the TZ environment variable 
isn't the only one -- there is also the system-wide time zone, 
usually controlled via a file such as /etc/localtime.

>  How do I tell ntpd to set the time to local rather than UTC?

	NTP operates exclusively in UTC.  Timezones are purely a 
representation matter.

-- 
Brad Knowles, <brad at stop.mail-abuse.org>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.



More information about the questions mailing list