This question already has an answer here:
- Checking integrity of my server data 2 answers
Is there any commonly used shell script or utility to periodically check Linux file systems for changes, such as permission or ownership changes of configuration files.
I am thinking of something similar to OpenBSD's security(8), that could be run weekly or daily via a cronjob and make a simple report of changes, but tailored for Linux or portable across different Unix-like systems.
I am mostly interested in Linux Red Hat, but any starting point from a portable utility or any similar OS would be great.
I looked at fam and gamin but it seems these are APIs meant for use by application developers, not system administrators who just wish to periodically monitor changes in certain files and directories.