NTPD and SecureLevel
Chuck Swiger
cswiger at mac.com
Wed Jun 16 17:27:47 GMT 2004
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.
You will want to "step" the system time at boot before the securelevel is set.
Afterwards, ntpd will use another mechanism to "slew" the system time (the
adjtime() call) which ought to still be permitted by the securelevel.
--
-Chuck
More information about the freebsd-stable
mailing list