From owner-freebsd-questions Wed Aug 14 16:37:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85A5C37B400 for ; Wed, 14 Aug 2002 16:37:19 -0700 (PDT) Received: from mail.urchin.com (ns2.quantified.com [63.212.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3512F43E42 for ; Wed, 14 Aug 2002 16:37:19 -0700 (PDT) (envelope-from dsilver@urchin.com) Received: from danzig.sd.quantified.net (web.quantified.com [63.212.171.5]) by mail.urchin.com (8.12.1/8.12.1) with ESMTP id g7ENd2i3004296; Wed, 14 Aug 2002 16:38:40 -0701 (PDT) (envelope-from dsilver@urchin.com) Date: Wed, 14 Aug 2002 16:37:14 -0700 (PDT) From: Doug Silver X-Sender: dsilver@danzig.sd.quantified.net To: Linh Pham Cc: MET , freebsd-questions@FreeBSD.ORG Subject: Re: Setting the Time || Public Time Servers In-Reply-To: <20020814163318.B12793-100000@q.closedsrc.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (mail.urchin.com) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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