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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleted files 1

Status
Not open for further replies.

MikeHaith

Programmer
Nov 12, 2002
18
0
0
US
Is there a way to determine which user may have deleted files on a system? Everyone claims they did not do it, but never the less, the files are gone.

Thanks for your help

Mike
 
If your users are using ksh, bash, or csh, there should be a history file (.sh_history in ksh for example) in each user's home directory. If it's a fairly recent event, the history variable is set large enough and your users aren't savvy enough to delete or change the history, you could gather these up and grep them for rm commands.
 
Thank you for your help. I will check the history files and see what is in there.

Mike
 
Bear in mind, I've found that the history is 100% reliant - I've seen cases where I *know* I've done certain commands, checked the history for some reason and have not found entries ...

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top