[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 362
  • Last Modified:

Is there a way to find out who have deleted a recent data from that server and laso where is the sulog is stote

 
Hi ,

Is there a way to find out who have deleted a recent data from that server and laso where is the sulog is stored .or is there any other way to find that information ..I see in the .sh_bash_history that tell me that the rm -Fr commands have been run against those dir ...But i can't say for certain .. ..
0
kaka123
Asked:
kaka123
  • 5
  • 3
  • 2
1 Solution
 
cedarghostCommented:
The location of the sulog varies based on what flavor of Linux you are using. You can use the locate command to find it. If you have never used locate before first type updatedb then type locate sulog. That should give you the location of the sulog. That log will give you a list of successful and unsuccessful su attempts along with the dates. That may be able to help you figure it out. If the server hasn't been restarted since the files were deleted, you may be able to recover them if there is a process still using them in your proc directory. (see this article for a how-to: http://www.linux.com/feature/32026)
0
 
kaka123Author Commented:
# updatedb
-bash: updatedb: command not found
 # locate sulog
-bash: locate: command not found
# cat /etc/issue
# cat /etc/SuSE*
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3

0
 
jkrCommented:
If you can't 'locate', try

find / -name sulog -print
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
kaka123Author Commented:
it did not find anything ...
0
 
jkrCommented:
Try a wildcard:

find / -name "sulog*" -print
0
 
kaka123Author Commented:
nothing
0
 
kaka123Author Commented:
may be it is not setup ??is there any other log file that i can check??
0
 
cedarghostCommented:
What version of Linux?
0
 
jkrCommented:
>> may be it is not setup ??

If nothing is found, this is very likely.
0
 
kaka123Author Commented:
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now