Am Samstag, 16. August 2003 22:37 schrieb Olivier Blin:
> > > kppp has root suid, is it really necessary ?
> > > pppd has already root suid, shouldn't it be be enough ?
> >
> > no, since kppp needs to write into /etc/ppp/*
>
> Does it really need to write there ?
> No way to use ~/.ppprc only ?
>
> I've noticed that all dialers use /var/lock/LCK..ttyS? files.
> So they must be run as root.
> This prevent for example wvdial to be run as non-root user.

Well nothing to discuss here. 

pppd running as root != pppd running by root

The only way to dial up for user is to use peer scripts and having pppd setuid 
root. This way pppd can be started by user, since pppd call <name> is not a 
priviliged option. :)

Steffen

Reply via email to