How do I determine who last accessed a file and when in a unix environment?
Posted on 2014-04-16
We are moving to a new SAS environment and need to restrict file access in the new environment. We would like to be able to determine file security based on the last time someone has accessed a file/dataset. The command ls -atime will provide us with the last access time. However, it does not provide us with WHO last accessed the file. At this point, we are surveying all our users which is not practical since we have a significant number of users and files.
Any help would be appreciated!