On 15 Apr 1998, Eloy A. Paris wrote:
> an easy one: why when root runs a program that faults core is not
> dumped but when a normal user runs the same program a core is dumped?
[EMAIL PROTECTED](p5):cs315# cat core-test.c
void main(void)
{
* (char *) 0 = 0;
}
[EMAIL PROTECTED](p5):cs315# gcc core-test.c -o core-test
[EMAIL PROTECTED](p5):cs315# ./core-test
Segmentation fault (core dumped)
[EMAIL PROTECTED](p5):cs315# whoami
root
[EMAIL PROTECTED](p5):cs315# ulimit -c
unlimited
I'd check the ulimit,
Brandon
-----
Brandon Mitchell <[EMAIL PROTECTED]> "We all know linux is great... it
PGP: finger -l [EMAIL PROTECTED] does infinite loops in 5 seconds"
Phone: (757) 221-4847 --Linus Torvalds
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]