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

Re: dialup scripts



Andre writes:
> How can "etc/ppp/ip-up.d/zzdone" know which user started "pon"?  The pppd
> process is owned by root...

Pppd knows who started it.  From the man page:

       The environment vari­
       ables that pppd sets are:
       ...
       PPPLOGNAME
              The username of the real user-id that invoked pppd.
              This is always set.
-- 
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin



Reply to: