[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [raq4] how to remoge all formmail.pl from a server



Andy Brown wrote:

> Quick and dirty script time::
> -----------------------------------------------------------------------------------
> #!/bin/sh
> cd /home/sites/
> FILESTOFIX=`cd /home/sites;find |grep formmail.pl`

Quick fix:

FILESTOFIX=`cd /home/sites;find | grep -i formmail`

to ignore case and extensions, since formmail can and often is
capitalized as "FormMail" and may or may not of either .pl or .cgi (or
nothing) after it.

Don't delete it; rename it so it can't be used, to something like:

mv  $i $i.xxxxxx

so you can check it later to make sure it's not something you shouldn't
have deleted.  And let your users know where they can get a safe one, so
you won't lose clients.

(We've got a safe one available via anonymous ftp at ftp.nobaloney.net.)

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Internet & Unix/Linux/Sun/Cobalt Consulting +1 909 778-9980
Our jblists address used on lists is for list email only
To contact us offlist: "http://www.nobaloney.net/contactus.html";