Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to find files accessed by specific user (even just read) within a folder tree. I thought the find command had this option, but it actually just searches for owner user. Is there any other command, or command combinations? The stat command offers access information, but doesn't display the user who made access.

share|improve this question

migrated from stackoverflow.com Dec 13 '12 at 14:39

This question came from our site for professional and enthusiast programmers.

    
@DeerHunter true, I would move the question to the Unix SE, though several questions about Unix are often answered in SO –  CarloAlberto Dec 13 '12 at 14:29
1  
If one is talking about Linux, it is possible to set up notifications and/or enable logging through auditd. –  Deer Hunter Dec 13 '12 at 14:29

1 Answer 1

You have to enable the audit subsystem before you can monitor file accesses. This may have a noticeable effect on system performance.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.