Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 11:28:42 +0600
From:      "Sergey N. Voronkov" <serg@tmn.ru>
To:        Michael Tang Helmeste <glassfish@frogbox.dyndns.org>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: setting time without changing securelevel
Message-ID:  <20010524112842.A33408@sv.tech.sibitex.tmn.ru>
In-Reply-To: <GLECJJEOFFBMALIKCDHIMEIFCAAA.glassfish@glassfish.net>; from glassfish@frogbox.dyndns.org on Wed, May 23, 2001 at 10:29:54PM -0400
References:  <GLECJJEOFFBMALIKCDHIMEIFCAAA.glassfish@glassfish.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, May 23, 2001 at 10:29:54PM -0400, Michael Tang Helmeste wrote:
> Is there any way to allow NTP to set my time without changing my
> securelevel? I run NTP through cron, but whenever it tries to change the
> clock, FreeBSD just changes it back to what it was before. I don't want to
> have to run at a lower securelevel, but only to allow changing the time. Is
> this possible? Thanks.
> 

ntpd -x ?

[from man ntpd]
     -x      Ordinarily, if the time is to be adjusted more than 128 ms, it is
             stepped, not gradually slewed.  This option forces the time to be
             slewed in all cases.  Note: since the slew rate is limited to 0.5
             ms/s, each second of adjustment requires an amortization interval
             of 2000 s.  Thus, an adjustment of many seconds can take hours or
             days to amortize.

Bye,

Serg.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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