2 ms·
> check for processes accessing the file How? I could check at any point in time if the file is being accessed now, but how could I ensure that it hasn't been
by dotancohen 6y ago
> check for processes accessing the file
How? I could check at any point in time if the file is being accessed now, but how could I ensure that it hasn't been accessed in the past? The ext4 access time can be forged by the same process that accesses the file. Should I have a daemon running to check this? If so, then why isn't this already a feature in common Linux distros?
- jlgaddis 6y ago> If so, then why isn't this already a feature in common Linux distros? It is. It's called auditd, is quite possibly already installed (albeit probably not configured to do much), and can easily ship its logs off to another host (natively or via syslogd).
- dotancohen 6y agoThank you. I'm checking out auditd now.