Date: Wed, 16 Jun 2004 20:01:04 -0400 From: David Magda <dmagda@ee.ryerson.ca> To: prebrov@yandex.ru Cc: freebsd-stable@freebsd.org Subject: Re: NTPD and SecureLevel Message-ID: <6CDBFD00-BFF1-11D8-AF71-000A95B96FF8@ee.ryerson.ca> In-Reply-To: <40CFFAF8.00000C.10717@colgate.yandex.ru> References: <40CFFAF8.00000C.10717@colgate.yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 16, 2004, at 03:47, Pavel M. Rebrov wrote: > I've installed and configured ntpd daemon and was wondering if it > going to work with SecureLevel higher than 1. SecureLevel 2 forbids > changing the system date and, therefore, ntpdate and rdate won't work. Have ntpdate run before hand to get the time with in a close amount of the 'real' time. There should be an rc.conf item for ntpdate. ntpd(8) doesn't actually change the time by making it 'jump' to the correct time; it slows down or speeds up the rate at which the timer runs at. So if your system time is ahead of the 'real' time, ntpd will slow down the rate at which time passes ('one second' on the system clock will actually take longer than a 'real' second to pass). Similarly if your system time is behind the 'real' time ntpd will adjust the rate so that timer will run faster than 'real' time. This way there are no 'jumps' in time: it is continuous.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6CDBFD00-BFF1-11D8-AF71-000A95B96FF8>