🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #19878

Re: pppd only with root ?

#19878
From: Dominik Fretz
Date: Fri, 19 Nov 1999 00:00
41 lines
1557 bytes
root wrote:
> 
> Hi you Swiss German guys !
> 
> I made a ppp script to get connected to sunrise free surf : it' work
> fine ! (finally....)
> 
> My problem is that only 'root' can use it... it has the correct right
> RWXRWXRWX etc... and my other user has a 'superuser equivalence' but it
> doesn't work.
> 
> Any idea ???
> 
> Thanks in advance.

hi

the problem is that pppd needs to install a network device.
that means that it need root access.

you can try this:

chmod +s /<path to pppd>/pppd

so, the pppd run as root. this means that every user can execute it and
it get run as root.

BUT ATTENTION!
this can be a security hole.
If I can remember corectly, there is another solution in the PPP howto.

have a look at: howto.linuxberg.com

cu
Dominik


-- 

Need Linux-Support? 
Have a look at: http://www.linuxcare.ch
Technical Details
Message-ID: <3835C69B.C4BA2900@linuxfreak.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3835AD20.3A17C768@freesurf.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4b73,cc5528a40899e835
X-Google-Attributes: gidf4b73,public
From: Dominik Fretz <roboto@linuxfreak.com>
Subject: Re: pppd only with root ?
Date: 1999/11/19
Message-ID: <3835C69B.C4BA2900@linuxfreak.com>
X-Deja-AN: 550707125
Content-Transfer-Encoding: 7bit
References: <3835AD20.3A17C768@freesurf.ch>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@sunrise.ch
X-Trace: news1.sunrise.ch 943047907 12371 194.230.9.33 (19 Nov 1999 21:45:07 GMT)
Organization: sunrise communications ag
Mime-Version: 1.0
NNTP-Posting-Date: 19 Nov 1999 21:45:07 GMT
Newsgroups: ch.comp.os.linux