To disable Formmail in order to stop spam mails -
1) Command to find Mails -
find / -name “[Ff]orm[mM]ai*”
2) Command to find CGI mails -
find / -name “[Cc]giemai*”
3) To disable form mails -
chmod a-rwx /path/to/filename
this is will disable all the scripts.
B) Root kits should be installed -
- Set a root kit on a cron job, this will show if any one has hacked in the roots.
- Update the
How to secure a VPS
4/
5
Oleh
Admin