LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   daemon to monitor files being modified (https://www.linuxquestions.org/questions/linux-newbie-8/daemon-to-monitor-files-being-modified-4175411430/)

sumeet inani 06-14-2012 08:46 AM

daemon to monitor files being modified
 
Is there some kernel module which can log all files modified not their access date or time but only those whose contents have changed .

allend 06-14-2012 09:10 AM

Perhaps inotifywait would meet your requirements. It can be run in daemon mode to monitor many events. The modify event would indicate anytime a file changed. There is the problem that multiple events could be logged.

chrism01 06-14-2012 06:51 PM

If this is just for a few of your own files, that would work.
If this is more for a system-wide security situation, the check out Samhain/Aide/Tripwire and ask the Mods (via the Report button) to move this to the Security forum.

sumeet inani 06-14-2012 11:36 PM

I was looking for monitoring all mounted file systems even the external pluggable USB .

I will read https://github.com/rvoicilas/inotify...iki/#wiki-info , http://xaroumenosloukoumas.wordpress...h-inotifywait/
Is there any other link which provides my need ?


All times are GMT -5. The time now is 12:53 PM.