Adjusting time on a secured FreeBSD machine.
dwhite at gumbysoft.com
Fri Feb 4 10:33:13 PST 2005
On Fri, 4 Feb 2005, Marco van Lienen wrote:
> On Thu, Feb 03, 2005 at 06:03:48PM -0000, Rob MacGregor wrote:
> > Not within NTPd itself. You could go with manually stepping the time in 1s
> > intervals. It's either that or drop the securelevel in rc.conf and reboot (then
> > reset the securelevel).
> > Of course, you probably want to make sure the hardware clock has a vaguely
> > accurate idea of time. That'll help in future.
> Isn't there a tool like hwclock for Linux?
> With this tool you can actually set the hardware clock to the current system
> time or vice versa.
No; the kernel keeps the hardware clock in sync automatically.
The problem is that you need to step the clock before incrementing
securelevel. Once the clock is correct, you can increment securelevel with
ntp running and it'll keep the clock on time.
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-stable