To manipulate the network stack (route , ifconfig ...) you have to be
root.
so if you want to make it possible for ordinary users to activate the ppp
link, you will have to give him root priviledge while doing so
ie by writing a special suid launcher that does all the work or maybe
just making pppd suid root but there may be security issues with this.
-----Message d'origine-----
De: Brian Lehr [SMTP:[EMAIL PROTECTED]]
Date: jeudi 1 octobre 1998 07:48
�: [EMAIL PROTECTED]
Objet: ppp-go
Now that I'm starting to get everything organized for a regular user to
use, as opposed to root, I tied to access the internet tonight using
ppp-go (the one I use for root). But as a user, it wouldn't connect.
When I try to run it, all I get is a new prompt. In the
var/log/messages file it simply says: "pppd 2.2.0 started by kureos
(username), uid 1000 Exit."
When I use ppp-go as root, it says "pppd 2.2.0 started by root, uid 0
..." Then it proceeds to go through my pppscript.
I've tried linking and coping the ppp-go file to my user directory, to
no avail. I also chmod to make sure that the users could use it.
On the other hand, it's sister file, ppp-off, seems to work fine. That
is, when I execute it, I get a response back basically that I wasn't
online in the first place. So that one seems to work. Whatcha think?
Brian
BTW, I am using SW 3.5