Re: PPP not available

Keith Rohrer (kwrohrer@uiuc.edu)
Sun, 15 Dec 1996 23:14:21 -0600 (CST)


> I have compiled 2.0.26, and have run into a strange problem with PPP.
> Originally I thought it might be with dip, as the program would terminate,
> and drop DTR everytime I sent a `mode ppp' command. Changing to `mode
> slip' makes it work fine.
>
> The plot thickened when I tried to run pppd. The kernel responded with
> 'PPP it not available on this system'. What gives? I compiled PPP
> support into the kernel (not as a module). Any ideas?
pppd gives that error unless you attain root through sudo, su1, or su
(or by logging in as root). In particular, making the executable suid
root will not work; pppd notices and gets rid of the extra privs.
Presumably you can recompile it with that option turned off or hacked
out; do so only if you will chgrp it to an appropriate group (wheel
or any other adminish group will do fine, just so that only people
who should fire up ppp are in the group) and set its world privs to
none.

Keith