Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 13:27:28 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        prebrov@yandex.ru
Cc:        freebsd-stable@freebsd.org
Subject:   Re: NTPD and SecureLevel
Message-ID:  <40D08300.20004@mac.com>
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
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40D08300.20004>