LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-29-2007, 09:04 PM   #1
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
Question 'core' file in root directory


I use Kubuntu Edgy and have recently noticed a file called 'core' appear in my root directory. It is a binary file. I had recently upgraded to feisty but then went back to edgy.

I have no idea what this file does and it was in older backups as well.

This machine was attacked online when running feisty and desktop icons removed plus problems with feisty led to format of all but home directories and setting up new partitions and reinstall of edgy. Prior to that I ran SuSE. I'm certain this file wasn't there and am unaware of what created it.

Any help appreciated. No problems with laptop, but that doesn't mean I haven't been hacked, though operating via kubuntu proxy server.

Cheers
 
Old 06-29-2007, 09:34 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
It's probably a core dump file. What does file show for it?
Code:
file /path/to/core

Last edited by win32sux; 06-29-2007 at 09:36 PM.
 
Old 06-30-2007, 12:11 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
A core file will be from a core dump, which is produced when a program crashes. In one of your systems setup files, such as /etc/profile, you may find a line that looks like:
ulimit -c 20
(type in "help ulimit" in the bash shell for a manpage or info bash for more information). This value may be read in from a config file in /etc/sysconfig and then the value used in a ulimit command.

The number is the limit of core dumps in 1024 byte blocks. You can also filter out core files from being backed up. They are only useful when you use a debugger. If you don't plan on doing that, you can even delete it. The timestamp on the core dump might be useful. It will tell you when the crash occurred. Being on the root directory,you know that a root program crashed.
 
Old 06-30-2007, 01:21 AM   #4
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Original Poster
Rep: Reputation: 35
Smile

Sorry, when I looked at this core file in konqueror it had the 'bomb' icon and Properties identified it as a crash dump file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Give the root Permission to other user for manage File/Directory shipon_97 Linux - Newbie 2 01-28-2007 11:46 AM
growisofs only can create file under DVD root directory? bravehao Linux - Newbie 1 10-17-2005 12:02 PM
/root/init.c: No File or Directory in GDB irfanhab Programming 2 01-28-2005 11:17 PM
core.2200 888.0 memory dump - file just appeared in my home directory Lakota Linux - Newbie 2 10-06-2003 09:25 AM
Download file into directory as root? guitarnix Linux - Newbie 3 09-17-2003 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:34 AM.

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