I'm building a CGI interface to PPP and am having trouble getting pppd to run from a script.
I have my CGI script execute /etc/ppp/ppp-on, which is set as owned by root and has the sticky bit set. Running this form the command line, even when I'm not logged in as root, starts up PPP.
Looking at stderr, I see the following error message:
/dev/null/.ppprc: Not a directory
I've tried setting HOME to /tmp before executing pppd without any luck. Does anyone know of a way to stop pppd from looking for this init file or to specify what directory it should look in?