Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 19:47:32 +0100
From:      Jeff Penn <jeff@jrpenn.demon.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Configuring ntpd on a dialup workstation
Message-ID:  <20020821184732.GA365@jrpenn.demon.co.uk>

next in thread | raw e-mail | index | archive | help
I'm having problems figuring out how to set up my system to run ntpd on
a dialup workstation.

Unless root initiates the ppp connection I get:

Aug 21 18:49:27 jrpenn ntpd: ntpd: must be run as root, not uid 1001

I tried chmod 4555 /usr/sbin/ntpd without any success.

/etc/ppp/ppp.linkup:
provider:
 !bg sendmail -q
 !bg /usr/sbin/ntpd -q -p /var/run/ntpd.pid

/etc/ppp/ppp.linkdown:
provider:
 !bg 'kill -HUP `cat /var/run/ntpd.pid`'

-r-xr-xr-x  1 root  wheel  230068 17 Aug 23:21 /usr/sbin/ntpd
-r-sr-xr--  1 root  network  307452 17 Aug 23:21 /usr/sbin/ppp
-rw-r--r--  1 root  wheel   686 10 Aug 00:21 ppp.linkup

user added to /etc/group:
network:*:69:jeff

Where do I need to change the permissions?.

thanks
Jeff

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?20020821184732.GA365>