[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Must pppd be run by root?



On Fri, 17 May 1996, Scott Barker wrote:

> > How are routing and/or arp table entries for the dial-in ppp user
> > handled?
>
> I use the 'proxyarp' option, and it seems to work just fine. No need
> to set up routes if the PPP address is on the same subnet as the rest
> of your equipment.

I thought only root could add entries to the arp table?

in fact, i just tried setting an arp entry as 'cas' and got:

SIOCSARP: Operation not permitted

which is exactly what should happen unless pppd is run with sudo or run
setuid root. 

ditto with routes.  only uid root can set routes.

Craig


Reply to: