LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-27-2006, 05:36 AM   #1
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Rep: Reputation: 31
Core Dump!


hELLO , i have a bad habit of using my linux as root and was wondering if i can create another account say named KHALEEL and it would have as many powers as root has? if yeah then how can i do that? please tell me ....
also i have noticed that there are a few files named core.3654 or sorta named few with considerably large file size 300MB + , what are these and what are they for?
also i have noticed some MEMPRY DUMP option in windowsXP in system properties , small dump etc whats taht for?
 
Old 06-27-2006, 05:51 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Well, if it will have all the power, no point in it. Maybe you would want to install sudo, and then read its manual.
 
Old 06-27-2006, 06:56 AM   #3
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Original Poster
Rep: Reputation: 31
i know SUDO but i just say I WANT ANOTHER ROOOOOOOOOOOOOOOT now can i know how to create one ?>
 
Old 06-27-2006, 07:02 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
What for? Surely you can always make another uid-0 user (by editing /etc/passwd), and maybe remove root, but this user will be just root - why bother? You'll preserve 100% of security risks.
 
Old 06-27-2006, 10:09 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Core dumps are just that: dumps of the memory (stack, etc) occupied by a program when it crashes.
The "core" only gets dumped in some specific cases though (depends on the exit code of the program, if I remember correctly) and can be used - by a programmer for instance - to debug the program (ie track down where it crashed, what code it was running, etc).

Personnally, I would recommend just throwing them away, unless they keep re-appearing often.
If they do appear regularly, try looking at the program that keeps dumping it's core and try to figure
out the problem.
 
Old 06-29-2006, 03:10 AM   #6
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Original Poster
Rep: Reputation: 31
OKEIZ THANKS PPL but how do i find out which prog dumped the core? i mean is there a log created in say /var/log or somewhere else?
also is the data in that file in BINARY form if not then which ?
 
Old 06-29-2006, 05:21 AM   #7
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
The core file has it's own format, which is mostly binary.
They are simply created when a program exits with certain exit codes.
However, it is possible that some other program, that called the faulty program, logged it's unexpected end.

You may also find a clue as to which program crashed in the core dump file itself.

The filename core.xxxx may imply that xxxx is the Process ID of the program that crashed. I'm not sure of this though.

Maybe you can find some info on http://en.wikipedia.org/wiki/Core_dump
It has a link to dump analyzing tools.
 
  


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
gcc core dump divukman Programming 2 06-25-2006 07:35 AM
strcat Core Dump monil Programming 4 03-08-2005 11:20 AM
Core Dump MrPotatoHead AIX 3 01-14-2004 09:42 AM
core dump tomservo Linux - General 4 09-23-2002 05:35 PM
core dump lacrimae Linux - General 3 02-19-2002 01:43 PM


All times are GMT -5. The time now is 12:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration