Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to log daily changes in Linux Filesystem?

Can anyone please suggest me some script or mechanism so that I can record all the Changes made into my GNU/Linux File System on daily basis.

Example:

Suppose I make the following changes on 1-Jan-2012:

File_Modified                Modification_type      Date/Timestamp

/mnt/linux_d/notes.txt       Added                  1-Jan-2012 10:00 AM

/root/Desktop/log/pdf        Deleted                1-Jan-2012 2:00 PM

/root/Document/sample.html   Modified               1-Jan-2012 5:00 PM

Thanks.

Best Regards,

Sandeep Singh

like image 673
Sandeep Singh Avatar asked Dec 27 '22 08:12

Sandeep Singh


1 Answers

Take a look at tripwire:

Tripwire is a tool that aids system administrators and users in monitoring a designated set of files for any changes. Used with system files on a regular (e.g., daily) basis, Tripwire can notify system administrators of corrupted or tampered files, so damage control measures can be taken in a timely manner.

There are packages available on many distributions.

like image 128
Kevin Avatar answered Jan 31 '23 01:01

Kevin