From owner-freebsd-stable@FreeBSD.ORG Wed Jun 16 19:13:13 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1124C16A4D8 for ; Wed, 16 Jun 2004 19:13:13 +0000 (GMT) Received: from mg3.xecu.net (mg3.xecu.net [216.127.136.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 926F743D2F for ; Wed, 16 Jun 2004 19:13:12 +0000 (GMT) (envelope-from Harlan.Stenn@pfcs.com) Received: from localhost (unknown [127.0.0.1]) by mg3.xecu.net (Postfix) with ESMTP id 5FBD13DA2B4 for ; Wed, 16 Jun 2004 15:13:11 -0400 (EDT) Received: from mg3.xecu.net ([127.0.0.1]) by localhost (mg3.xecu.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37858-09 for ; Wed, 16 Jun 2004 15:13:06 -0400 (EDT) Received: from pcnbs.pfcs.com (harlan.xecu.net [216.127.150.112]) by mg3.xecu.net (Postfix) with ESMTP id 18DEF3DA281 for ; Wed, 16 Jun 2004 15:13:06 -0400 (EDT) Received: from dog.pfcs.com (dog.pfcs.com [192.52.69.47]) by pcnbs.pfcs.com (Postfix) with ESMTP id CC1AA263C; Wed, 16 Jun 2004 15:13:04 -0400 (EDT) Received: from localhost [127.0.0.1] (HELO dog.pfcs.com) by dog.pfcs.com (8.12.9p2/8.12.9) via ESMTP id ; Wed, 16 Jun 2004 15:13:00 -0400 (EDT) To: Chuck Swiger In-Reply-To: Chuck Swiger's (cswiger@mac.com) message dated Wed, 16 Jun 2004 13:27:28. <40D08300.20004@mac.com> X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n:c(Cc* $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C d User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Date: Wed, 16 Jun 2004 15:13:00 -0400 Message-ID: <17742.1087413180@dog.pfcs.com> From: Harlan Stenn X-Virus-Scanned: by amavisd-new at xecu.net cc: freebsd-stable@freebsd.org Subject: Re: NTPD and SecureLevel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 19:13:13 -0000 I think running ntpwait after starting ntpd and before bumping the securelevel is safer and even better. Also, be sure to us iburst for each server/peer, and use a driftfile. This is somewhat discussed at http://twiki.ntp.org . Feel free to make improvements there. H -- > 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 sys > tem > > 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 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"