Hi,

I'm curious about why privileges are revoked before executing
ip-{up,down} scripts?

"ROUTING" section of pppd(8) says:

        +--- pppd(8)
        | When IPCP negotiation is completed successfully,
        | pppd will inform the kernel of the local and remote
        | IP addresses ... to create a host route to the remote
        | end ... which will enable the peers to exchange IP
        | packets. Communication with other machines generally
        | requires further modification to routing tables. In
        | most cases the defaultroute [is] sufficient for this,
        | but in some cases further intervention is required.
        | The /etc/ppp/ip-up script can be used for this.
        +-

However, if ip-up is to change the routing table it will require
root privilege.

Am I missing something?

--patrick

Reply via email to