Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 16:37:14 -0700 (PDT)
From:      Doug Silver <dsilver@urchin.com>
To:        Linh Pham <lplist@closedsrc.org>
Cc:        MET <met@uberstats.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Setting the Time || Public Time Servers
Message-ID:  <Pine.LNX.4.21.0208141635310.20386-100000@danzig.sd.quantified.net>
In-Reply-To: <20020814163318.B12793-100000@q.closedsrc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Aug 2002, Linh Pham wrote:

> On 2002-08-14, MET scribbled:
> 
> # How would I make my BSD machine get its time from something like a
> # public time server so that reports the correct time?
> 
> You can use the ntpdate utility to query and set the system's date. You
> can set it to sync your clock upon startup by adding the proper lines to
> /etc/rc.conf (check the man page rc.conf(5) for the proper options) or
> add it to a crontab.
> 
> You must be root to set the system's clock.
> 
> 

Also take a look at clockspeed (/usr/ports/sysutils) to obviate the need
for running ntpd or ntpdate consistently.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Urchin Software Corp.	http://www.urchin.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0208141635310.20386-100000>