[thelist] Perl script as root

CDitty mail at redhotsweeps.com
Wed Feb 13 21:09:00 CST 2002


Hello all,

I wrote a little perl script that catches the ip addresses for people
trying to access formmail.pl  on my site.  The script is supposed to add
the ip to the firewall blocking them from accessing my site in the
future.  Problem is, ipchains needs to be run by root.  I have given the
script root permissions, but it still won't work right.  Does anyone know
how to make a script run as root?

Thanks

Chris




More information about the thelist mailing list