Michael Badt <(E-Mail Removed)> wrote:
> My Mandrake 9.1 PC has an ADSL Internet connection using PPPoE.
> I use rp-pppoe and it works fine for me but I can't see why I have to
> run its commands as root.
If pppd is suid root then you shouldn't need to be root, provided
the execute permissions for it and the commands (scripts?) allow
regular users to run them. Some people think that setting pppd
suid root is not a good idea, but I see nothing wrong with it in
a trusted environment.
> Specifically, why do I have to enter the root password
> WHILE CONNECTED to the Internet in order to shut down my
> connection ("adsl-stop"). I consider it as a serious
> security problem and wish I could avoid it.
Perhaps the creator of adsl-stop didn't want just anyone to be able
to break the connection, which could be serving more than one user.
If it's a script then you may be able to edit and change it so that
you aren't required to enter the root password.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* Those who can't write, write manuals. */