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

RE: [cobalt-users] severe problem



>> Is there a way to check the entire box at one time for formmail?

I use a simple bash script nightly to check for formmail.pl and also
any script that a user might have uploaded and renamed. It ain't perfect
but...
(beware line wraps)

#!/bin/sh
grep -e 'mattw@xxxxxxxxxxxxxxxxx' /home/sites/www* -r -l | mail -s "Matts
Scripts search results" admin
locate formmail.pl | mail -s "Formmail.pl search results" admin

Rob