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 i
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
I am having problems getting ppp to work with a script. It works *fine*
manually, using minicom to dial, and executing 'pppd /dev/ttyS2 38400'
I've tried this as root.
Thanks for any suggestions you might have!
Chris.
# tail /var/log/daemon.log
Oct 28 22:25:56 wraith pppd[316]: pppd 2.2.0 sta
3 matches
Mail list logo