From owner-freebsd-questions Thu Jan 27 21:56: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mercury.is.co.za (mercury.is.co.za [196.4.160.222]) by hub.freebsd.org (Postfix) with ESMTP id AFE7E14E11 for ; Thu, 27 Jan 2000 21:55:49 -0800 (PST) (envelope-from marcs@is.co.za) Received: from hermwas.is.co.za (hermwas.is.co.za [196.23.0.8]) by mercury.is.co.za (8.9.3/8.9.3) with ESMTP id HAA28417; Fri, 28 Jan 2000 07:55:43 +0200 Received: (from marcs@localhost) by hermwas.is.co.za (8.9.3/8.9.3) id HAA26631; Fri, 28 Jan 2000 07:55:41 +0200 (SAT) Date: Fri, 28 Jan 2000 07:55:41 +0200 From: Marc Silver To: Jonathon McKitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 'set server' permissions in ppp Message-ID: <20000128075541.A11401@is.co.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: X-Operating-System: SunOS 5.6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey Jonathon, I've never looked at the set server stuff in ppp, but why not look at using sudo for this?? It will allow you to run any command as root, without having to log in as root?? Just a suggestion... You can find it in /usr/ports/security/sudo Cheers, Marc On Thu, Jan 27, 2000 at 02:51:10PM +0000, Jonathon McKitrick wrote: > > I hate to ask this again, but it's really bugging me. SInce no one > has offered an explanation yet, i'll try rephrasing the question. > > I wanted to set up ppp so i can start it and stop it with alias or > shell commands rather than keeping an xterm or console open with ppp > running. So, it was suggested to use the 'set server' command in my > ppp.linkup script to create an 'internet' entry in /var somewhere (i > forget where exactly, sorry). Then, my alias 'poff' calls pppctl to > close that connection. > > However, i now have to run ppp itself as root, whereas i didn't have > to before. One thing i have learned here is to do as much as possible > in my user account, which is a member of wheel and network groups. > But 'set server' fails because bind only accepts the command under > root (as of right now). How can i fix this? I want to log in by my > user accout, type 'pon' to start ppp, and then 'poff' from any > location to kill it. > > -=> jm <=- > > If a tree falls in the woods and no one is around, does anybody > care? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Marc Silver IS Hosting Infrastructure The Internet Solution Tel: (+27 11) 283 5500 Fax: (+27 11) 283 5001 E-mail: marcs@is.co.za Web: www.is.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message