Subject: Re: IP masquerade
To: None <current-users@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: current-users
Date: 05/27/1997 18:30:11
In article <Pine.NEB.3.95.970527104623.760M-100000@bonzai>,
Scott Reynolds <scottr@Plexus.COM> writes:
>> I would assume you could put something like this in /etc/ppp/ip-up;
>> [...]
>
> You can, but you'll need to run this as root.
Why? From "pppd.8":
This program or script is executed with the real
and effective user-IDs set to root.
So "/etc/ppp/ip-up" it's executed with root privileges anyway, it doesn't
matter who called it.
--
Matthias Scheler http://home.pages.de/~tron/