Portal Home > Knowledgebase > Articles Database > Get alerted on modified files?


Get alerted on modified files?




Posted by webchris, 04-04-2011, 11:18 AM
I am running a VPS on a Linux system. Most of my websites are php with mysql databases. I'm concerned about SQL injection and other forms of hacking. While I am securing my code the best I can, I have 30+ sites and use some third-party stuff (about a dozen Wordpress installs, CMS's, etc.), so I can't ever be 100% sure. What I would like is an automated report that sends out when files are edited, excluding maybe apache logs and things like that. Or even if it was a file I could go check for a log of edits. Is there a way to do that via command line or WHM? Or anyone know of a solution? I think it would be a great security measure for my case, where tons of files aren't edited all the time, and I am the only person who would be making any changes.

Posted by existsite, 04-04-2011, 11:35 AM
I think Samhain would be perfect for your needs.

Posted by Wintereise, 04-04-2011, 11:57 AM
Could you post the link too? I need something like this as well.

Posted by GGWH-James, 04-04-2011, 12:09 PM
While I've not used Samhain myself, Monit can notify you of changes to files that you specify to be monitored as well. They aren't exactly the same type of product, but if all that you're wanting to do is to be notified when files change, Monit can do that.

Posted by webchris, 04-04-2011, 12:16 PM
I'm reading about both Samhain and Monit right now. Samhain seems to have a lot more security functionality, but I don't know if I would even know to use most of it.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
is nocster down (Views: 832)
Anyone used Twention (Views: 646)

Language: