Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

who last edited this file???

Status
Not open for further replies.

Birbone

MIS
Dec 20, 2000
141
US
Is there a way to tell who last edited a common file.

I know how to look through /home/user/.sh_history to find the users who have accessed the file but it does tell me who did it last.

Thanks in advance for any help you can give. -Bobby :cool:
bwgunn@icqmail.com
 
I can not think of a "standard" tool/utility that keeps track of such information, but you might be able to look at the file permissions, to see who could not have edited it. Then look at the last modification time for the file (man ls) and cross reference that with the last command to see when users were logged in. Then you would have (hopefully) a smaller list than every user onthe system, and you could search out the .sh_history files to see who it could be.

crowe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top