Using ntpdate(8) and UK time servers

Mark Ovens mark at
Sun Sep 26 23:56:44 BST 1999

On Sun, Sep 26, 1999 at 10:20:22PM +0100, Dominic Mitchell wrote:
> On Sun, Sep 26, 1999 at 06:13:20PM +0100, Mark Ovens wrote:
> > 2 quick questions. Where is there a list of ntp servers in the UK
> Pass.  Your ISP may well have a couple lying around.  Consult their dns.  :-)
> > and is using ntpdate(8) as simple as adding
> > 
> > 	bg ntpdate <URL of ntp server>
> > 
> > to /etc/ppp/ppp.linkup so that my PC's clock is synch'd every time
> > I dial my ISP.
> Not that simple.  If you only ever run ppp as root, then fine, it will
> work.  If (like me) you run ppp as a lowly user, then it won't work
> because it will be running with non-root privs.  The correct answer is
> to write a setuid wrapper (not always a terribly easy solution...) or to
> do what I do which is to correct my clock about once a month (when I
> remember by doing "sudo ntpdate ntphost1 ntphost2 ntphost" or whatever.
> If you don't already have sudo installed, it's probably a worthwhile
> download.

Hmm, yes, I do run ppp as a lowly user (well, as me :) ).

Given that my PC is standalone and not permanently connected to
the 'net would simply making the ntpdate binary setuid be a solution?

> -Dom

STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
      FreeBSD - The Power To Serve
      My Webpage
mailto:mark at    

More information about the Ukfreebsd mailing list