filesystems - Monitor/audit file delete on Linux -



filesystems - Monitor/audit file delete on Linux -

one of .beam files of 1 of application deps beingness deleted , not sure what/how.

is there way monitor or audit file see happens when deleted?

i'm using redhat distro.

yes, can utilize audit daemon. did't linux distro. reddish hat based systems contain auditd, , can utilize auditctl add together rules.

to watch directory recursively changes:

auditctl -w /usr/local/someapp/ -p wa

to watch scheme calls made programme pid of 2021:

auditctl -a exit,always -s -f pid=2021

check man page auditctl.

results logged /var/log/audit/audit.log

to ensure it's running.

/etc/init.d/auditd status

for more thorough approach, utilize tripwire or ossec, they're geared more toward intrusion detection.

linux filesystems

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -