From owner-freebsd-questions Wed Aug 21 11:47: 6 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 1847237B400 for ; Wed, 21 Aug 2002 11:47:03 -0700 (PDT) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7381343E6A for ; Wed, 21 Aug 2002 11:47:02 -0700 (PDT) (envelope-from jeff@jrpenn.demon.co.uk) Received: from jrpenn.demon.co.uk ([194.222.241.254]) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 17haVQ-000NIP-0W for freebsd-questions@freebsd.org; Wed, 21 Aug 2002 19:47:01 +0100 Received: from jrpenn.demon.co.uk (localhost [127.0.0.1]) by jrpenn.demon.co.uk (8.12.3/8.12.3) with ESMTP id g7LImErl000393 for ; Wed, 21 Aug 2002 19:48:14 +0100 (BST) (envelope-from jeff@jrpenn.demon.co.uk) Received: (from jeff@localhost) by jrpenn.demon.co.uk (8.12.3/8.12.3/Submit) id g7LIlWhP000386 for freebsd-questions@freebsd.org; Wed, 21 Aug 2002 19:47:32 +0100 (BST) Date: Wed, 21 Aug 2002 19:47:32 +0100 From: Jeff Penn To: freebsd-questions@freebsd.org Subject: Configuring ntpd on a dialup workstation Message-ID: <20020821184732.GA365@jrpenn.demon.co.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i 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 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