How can I tell who deleted a file in Linux?

Duyên Trương

New member
How can I tell who deleted a file in Linux?
Answer
2 Answers
  1. check the OS syslog (/var/adm/syslog/syslog.log for hp-ux, /var/log/messages for linux)
  2. Try the last commando to get a list of who logged on when.
  3. Check the command histories of the sidadm, root user, use the history command, or the h alias.
  4. Check if there are scripts running, which regularly delete files.
 

Tìm kiếm

Back
Top