I want to put a simple CGI script in my APACHE server. I'd like to write it possibly in C (but also in PERL, if I want).
The problem is that it must contain some lines that can be executed only by root (iptables for example), while webuser is the user running the server.
How can I make those lines executable by the root?