I would like to add a script "/etc/ppp/ip-up.d/zzdone" which looks for a file "MAILONLY" in the Home-directory of the non-root user who invoked pon, and if this file exists, terminates the PPP session of this user.
How can "etc/ppp/ip-up.d/zzdone" know which user started "pon"? The pppd process is owned by root... Andre