LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-25-2008, 03:28 AM   #1
dhanju
Member
 
Registered: Aug 2005
Location: bangalore
Posts: 47

Rep: Reputation: 18
In RHEL 4, how to find who deleted particular directory or file


Hi All

In linux server (RHEL 4), i am holding the root user, today i found that one important directory is missing from one the user's home location. So, how to find who deleted that?
Is there any command to find that or any log will be avaialable to find that?

Pls, help me out to find who removed the directory

Thanks Advance

-Dhanju
 
Old 09-25-2008, 05:37 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
You could try to grep for the directory name in everyone's ~/.*history , but that won't help you if the directory wasn't deleted from a shell.
You could also check the output from 'last' to see who was logged in at the time.

Dave
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i find the biggest file in my directory? anandv_1234 Linux - Newbie 11 12-21-2007 12:58 PM
Is there a way to find out -when- a file got deleted? Thintalle Linux - Newbie 6 12-14-2007 09:02 AM
find pattern in any file in directory sancho1980 Linux - Newbie 4 12-19-2006 08:14 AM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM
deleted file from /dev directory guerilla fighta Linux - General 4 01-30-2003 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration