How to check world writable files on Server and why its important to secure files?
To stop the spamming as well as hacking on server, its always recommend to secure server files by writing globally, therefore always scan server for files, who are having wrong permission.
You can check the world-writable files on your Server by using the following command from shell.
admin@root# find / -perm -2 ! -type l -ls