Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 07:55:41 +0200
From:      Marc Silver <marcs@is.co.za>
To:        Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 'set server' permissions in ppp
Message-ID:  <20000128075541.A11401@is.co.za>
In-Reply-To: <Pine.BSF.4.21.0001271444470.49228-100000@dogma.freebsd-uk.eu.org>
References:  <Pine.BSF.4.21.0001271444470.49228-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000128075541.A11401>