suidperl is a dangerous way of doing setuid Perl scripts. Over the time, there were many vulnerabilities found in suidperl, which is why people are discouraged from pursuing solutions with it. If you want to trigger functionality from Apache which needs root privileges, consider a two-fold approach. Your trigger script writes the information to a file, and the cron for root kicks off a script every minute which looks for that data and then updates the firewall.
If you want to pull the information in the other direction, it's even easier - have your firewall script run every minute and dump the data somewhere where your Apache script can read it.
In reply to Re: Perl script needs root privilegies
by Corion
in thread Perl script needs root privilegies
by ivanatora
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |