tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMM: core question
@ 1998-07-16 16:21 Leonardo Mosquera
  0 siblings, 0 replies; only message in thread
From: Leonardo Mosquera @ 1998-07-16 16:21 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-16 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-16 16:21 SUMM: core question Leonardo Mosquera

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