Problem is I cannot run "ifconfig" or similar commands via browser.
Programming language : python
Server : lighttpd(CGI) , running on busybox.
Well machine is really small and so I am really restricted.
chown every script to root. But there is no differences.
Because lighttpd runs under another user, I mean not under root. As it is not root, when I try to run script from browser it always calls the python file with its uid. So it makes it impossible to run "ifconfig eth0 192.168.2.123" like commands via web browser. I get "ifconfig: SIOCSIFADDR: Permission denied" error.
What can I do?
I do not have any sudoers file, so cannot modify sudo command. Well, I don't even have "sudo" command :)
Thanks for your help