[CentOS] find out who accessed a file

Jonathan Billings

billings at negate.org
Fri Jan 23 21:13:15 UTC 2015


On Fri, Jan 23, 2015 at 03:50:44PM -0500, Tim Dunphy wrote:
>  Is there any way to find out the last user to access a file on a CentOS
> 6.5 system?

Unless you're using auditd (or a similar service) to watch the file,
no.  You could probably use the logs and `last` to see who was logged
in at the time and make a guess.

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list