🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56637

Disabling core dumps (Was: Re: Customising RH Kernel)

#56637
From: John B Murphy
Date: Wed, 22 Jan 1997 00:00
20 lines
1308 bytes
Jason Stokes <j.stokes@student.anu.edu.au> wrote:
>Regarding customising the kernel, how do I de-enable core dumps?  I hope
>this isn't a stupid question, but it doesn't seem immediately obvious how
>this can be accomplished.
>

This isn't a kernel question.  It can be accomplished by using
your shell.

In bash, add "ulimit -c <corefilesize>" to /etc/profile.

If you have (t)csh users, add "limit coredumpsize <corefilesize>" to
/etc/csh.cshrc.

Set corefilesize to 0 and you won't get core files.

--
Brian Murphy
murphy@ns.arizona.edu
Technical Details
Message-ID: <5c70k5$2jv@lectura.CS.Arizona.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bbda57$8581b220$78fbcea0@kahedy.hansen.com.au> <01bbdab6$dc50b380$LocalHost@oldputer> <32e6312d.0@bohm.anu.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9b51,47f256e43a2a9b04
X-Google-Attributes: gidf9b51,public
X-Google-Thread: 100df9,47f256e43a2a9b04
X-Google-Attributes: gid100df9,public
X-Google-Thread: 102983,47f256e43a2a9b04
X-Google-Attributes: gid102983,public
From: murphy@CS.Arizona.EDU (John B Murphy)
Subject: Disabling core dumps (Was: Re: Customising RH Kernel)
Date: 1997/01/22
Message-ID: <5c70k5$2jv@lectura.CS.Arizona.EDU>
X-Deja-AN: 211634028
references: <01bbda57$8581b220$78fbcea0@kahedy.hansen.com.au> <01bbdab6$dc50b380$LocalHost@oldputer> <32e6312d.0@bohm.anu.edu.au>
organization: University of Arizona CS Department, Tucson AZ
newsgroups: aus.computers.linux,comp.os.linux.admin,comp.os.linux.setup