I don't NEED to do this through inetd, but i thought it would be convienient. all I need is a simple way for people to manualy start/stop ppp0 without ssh-ing in as root. my first try was to create a cgi script for sh-httpd to run...but sh-httpd dosn't run scripts as root so it didn't work (i don't feel comfortable with suid root).
ideas please?
thanks, -matt
services: pppup 1021/tcp # bring up ppp0 when hit pppdown 1022/tcp # bring down ppp0 when hit
inetd.conf: pppup stream tcp nowait root /tmp /usr/bin/pon pppdown stream tcp nowait root /tmp /usr/bin/poff
protocols: pppup 1021 TCP pppdown 1022 TCP
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
