disable core file generation

Ben Vitale bsvitale at comcast.net
Sun Aug 8 01:49:19 UTC 2004


Alexander Dalloz wrote:

>That is already the default setting.
>
>$ grep -n ulimit /etc/profile /etc/init.d/functions
>/etc/profile:28:ulimit -S -c 0 > /dev/null 2>&1
>/etc/init.d/functions:138:      ulimit -S -c 0 >/dev/null 2>&1
>
>Alexander
>
>
>  
>
I guess I should have mentioned I use tcsh, not bash.

It appears in csh it is nonzero by default:

[bvitale at vandelay ~]$ grep -n limit /etc/csh.login
11:limit coredumpsize unlimited

Thanks anyway. I believe changing limit to 0 in that file should do the 
trick.

Ben





More information about the fedora-list mailing list