tags:

views:

22

answers:

2
+1  Q: 

Linux File Logs

I need to view a log of files that have been opened, surely there are logs stored for this, but I have not been able to find them in the /var/log/ directory.

Thanks, Dave

+1  A: 

There is no such log by default. Use the audit subsystem to detect when files have been opened.

Ignacio Vazquez-Abrams
A: 

Hi Dave, you can use 'lsof' to see what files your user has opened, per process id.

ericp
Perhaps you mean file auditing? You can google SELinux and find examples for that.
ericp