Hi guys,
I'll admit right up front that I'm not very knowledgeable in regards to
Linux, so I hope I don't come off sounding TOO foolish. I do a lot of web
development, so I do know my way around a unix/linux environment somewhat.
I'm more used to working in a cgi environent with perl or php, so this stuff
is a tiny bit different for me.
Anyhow, what I want to do basically is use weblet to run the following line:
echo "1" > /proc/sys/net/ipv4/ip_masq_udp_dloose
and alternately:
echo "0" > /proc/sys/net/ipv4/ip_masq_udp_dloose
I essentially want to allow someone on the local network to be able to
toggle loose UDP routing on and off at will through a web interface.
I made a tiny little script to do this, but it doesn't work. It runs, but
the ip_masq_udp_dloose file never changes and I'm GUESSING it's because
weblet isn't allowed to touch it because it's owned by root. It works fine
if I run the script through the command prompt (logged in as root), just not
through the web interface.
How could I get around this? I tried using both chmod and chown on
ip_masq_udp_dloose to allow weblet access, but nothing happens. The
commands act as if they worked, but the permissions don't change. It seems
a bit odd to me.
Any help would be really appreciated!
-Kelly
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband.
http://resourcecenter.msn.com/access/plans/freeactivation.asp
-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel
- Re: [leaf-devel] Allowing Weblet to change a root fil... Kelly Brown
- Re: [leaf-devel] Allowing Weblet to change a roo... Brad Fritz
- Re: [leaf-devel] Allowing Weblet to change a... Jon Clausen
- Re: [leaf-devel] Allowing Weblet to chan... Charles Steinkuehler
- Re: [leaf-devel] Allowing Weblet to change a... Brad Fritz
- Re: [leaf-devel] Allowing Weblet to change a roo... Kelly Brown
- Re: [leaf-devel] Allowing Weblet to change a... Jon Clausen
- Re: [leaf-devel] Allowing Weblet to change a... Brad Fritz
- Re: [leaf-devel] Allowing Weblet to change a roo... Kelly Brown