From owner-freebsd-hackers Fri Feb 12 15:40:53 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23242 for freebsd-hackers-outgoing; Fri, 12 Feb 1999 15:40:53 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23052 for ; Fri, 12 Feb 1999 15:40:47 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id QAA00856; Fri, 12 Feb 1999 16:40:35 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpd000713; Fri Feb 12 16:40:21 1999 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id QAA26002; Fri, 12 Feb 1999 16:40:06 -0700 (MST) From: Terry Lambert Message-Id: <199902122340.QAA26002@usr01.primenet.com> Subject: Re: ppp server side startup commands To: phoenix@calldei.com Date: Fri, 12 Feb 1999 23:40:05 +0000 (GMT) Cc: netmonger@genesis.ispace.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <19990212001935.A17616@holly.dyndns.org> from "Chris Costello" at Feb 12, 99 00:19:35 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Or you could do something entirely simpler. > > Write a shell script containing the line - make SURE you set the path > (i.e. do this: > > PATH=/usr/bin:/usr/sbin:/sbin:/usr/local/bin > ) > > Have root own it and make it setuid 0. (chmod u+s yourscript) Shell scripts aren't allowed to be SUID root. To solve the problem, though: http://www.ietf.org/internet-drafts/draft-ietf-dhc-agent-options-05.txt The PPP server should obtain IP addresses via DHCP. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message