Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
由于安全要求,每当读取或写入系统上的任何文件时,我都需要保留一个日志文件。日志文件如下所示:
file - time - user
这将如何完成?
看看是否auditd适合你 - http://linux.die.net/man/8/auditd
auditd
您也可以考虑使用inotify