RichardF
Verified User
I regularly find files in some user folder with a mail script in it, and it is sending spam out, causing my server to be blacklisted.
So I was thinking if I had a script that checks the home directories for new files and mail me each day which files are created on the server, than I can see quicker if some corrupt script appeared on the server. Normally there aren't many files added/changed each day.
my problem is scripting so maybe someone can help me with a script.
or maybe there is a better way to prevent this. Because I notice that these files are allways in folders with 777 permission.
any help tips are welcome.
So I was thinking if I had a script that checks the home directories for new files and mail me each day which files are created on the server, than I can see quicker if some corrupt script appeared on the server. Normally there aren't many files added/changed each day.
my problem is scripting so maybe someone can help me with a script.
or maybe there is a better way to prevent this. Because I notice that these files are allways in folders with 777 permission.
any help tips are welcome.