Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-29-2007, 10:04 PM   #1
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.

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

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

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

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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, 02:21 AM   #4
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Original Poster
Rep: Reputation: 35

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


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

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

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