tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Leonardo Mosquera <lmosquer () col1 ! telecom ! com ! co>
To: tru64-unix-managers
Subject: SUMM: core question
Date: Thu, 16 Jul 1998 16:21:03 +0000	[thread overview]
Message-ID: <96078715811732.tru64-unix-managers.marc@archive.invalid> (raw)

Hi everybody, I got these answers from

1) Richard Westlake <r.westlake@mail.cryst.bbk.ac.uk>
2) Girish Phadke <pgirish@binariang.maxisnet.com.my>

My question was:

Hi everybody, I remember that something about this question was
answered some time ago, but I can't find it, so I know that this
wonderful list has the answer, how can I stop coredumps from being
generated even for root? I have DU 4.0B and 4.0D, thanks a lot for your
help.


The answers are in order:

1) Try the shell command limit coredumpsize size

the limit command on ists own will show the current limits
e.g.
# limit
cputime         unlimited
filesize        unlimited
datasize        131072 kbytes
stacksize       2048 kbytes
coredumpsize    unlimited
memoryuse       152848 kbytes
vmemoryuse      1048576 kbytes
descriptors     4096


for csh use limit
for sh and ksh use ulimit

ulimit -c is for core dumps ( I think)
look at the man pages for sh
its is near the end of man 1b sh


2) you can set in /etc/profile for ksh  
ulimit -c 0
to limit coredump size to 0
But user can change...this

You can limit core dumping capablity which user can not change in C2
level security .
1) enable C2 level security
2) use edauth or dxaccount to add entry u_rlimit_core#0  if you defined
default template
update the template also.


Thanks to you, 

Leonardo Mosquera
System Manager
Internet Telecom
Colombia

                 reply	other threads:[~1998-07-16 16:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox