有没有办法查看谁查看/访问的文件在linux? [英] Is there a way to view who viewed/accessed a file in linux?

查看:355
本文介绍了有没有办法查看谁查看/访问的文件在linux?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我是一个noob与linux服务器的东西。
我想知道是否有一个命令在linux或有一个方法来查看哪个用户已查看或访问的文件在linux?

Hi I am a noob with linux server stuff. I was wondering if there is a command in linux or there is a way to see which "user" has viewed or accessed a file in linux?

是有一个这样的命令?

我认为'stat'命令工作可能是一个可能的选项,但在谷歌之后,我发现有人张贴在这里底部:
http://www.howtogeek.com/howto / ubuntu / get-last-accessible-file-time-in-ubuntu-linux /
,没有办法查看谁访问了一个文件。这是真的吗?

I thought 'stat' command works could be a possible option, but after googling, I found out that someone posted here at the bottom: http://www.howtogeek.com/howto/ubuntu/get-last-accessed-file-time-in-ubuntu-linux/ that there is not a way to view 'who' accessed a file. Is this true?

推荐答案

审计子系统可以告诉你是谁或访问过文件系统对象。

The audit subsystem can tell you who or what has accessed a filesystem object.

这篇关于有没有办法查看谁查看/访问的文件在linux?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆