Hi everybody, I got these answers from
1) Richard Westlake <r.westlake_at_mail.cryst.bbk.ac.uk>
2) Girish Phadke <pgirish_at_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
Received on Thu Jul 16 1998 - 18:23:11 NZST