From owner-freebsd-questions Fri Sep 17 20:57:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freed.dyn.ez-ip.net (derby.JSP.UMontreal.CA [132.204.45.26]) by hub.freebsd.org (Postfix) with ESMTP id 4BA19154EC for ; Fri, 17 Sep 1999 20:57:32 -0700 (PDT) (envelope-from spidey@freed.dyn.ez-ip.net) Received: (from spidey@localhost) by freed.dyn.ez-ip.net (8.9.3/8.9.3) id XAA01780; Fri, 17 Sep 1999 23:53:04 -0400 (EDT) (envelope-from spidey) From: Spidey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14307.3231.325388.238041@freed.dyn.ez-ip.net> Date: Fri, 17 Sep 1999 23:53:03 -0400 (EDT) To: Freebsd Questions Mailing list Subject: Limiting core dumps for users X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Reply-To: Spidey Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! By the login.conf manpage, if I do this: default:\ [...] :coredumpsize=0:\ [...] It will forbid users from doing core dumps. Am I right? If I am, why does this 'classless' user can do this: bash-2.03$ cat > core.c /* do a coredump */ int main( int argc, char** argv) { int *i = 0; i[0] = 1; } bash-2.03$ gcc core.c -o core bash-2.03$ ./core Segmentation fault (core dumped) bash-2.03$ ls -l core* -rwxr-xr-x 1 marc guest 3084 Sep 17 23:18 core -rw-r--r-- 1 marc guest 82 Sep 17 23:18 core.c -rw------- 1 marc guest 266240 Sep 17 23:19 core.core bash-2.03$ Why isn't it working? If I'm wrong, how can I forbid users from making coredumps??? My searches on the mailing lists where unfortunatly vain. Thanks, and by the way that 3.3 release is really a charm. (well at least 3.3-stable.. :)) With XFree86 3.3.5, I'm in a dream... :)) I'm running: FreeBSD freed.dyn.ez-ip.net 3.3-RC FreeBSD 3.3-RC #16: Fri Sep 10 21:09:10 EDT 1999 spidey@freed.dyn.ez-ip.net:/usr/src/sys/compile/HALL i386 which.... hum... is supposed to be -stable, but I think is the 'pre-release' am I right? What is -RC? thanks again for this incredible OS. Ants. -- Si l'image donne l'illusion de savoir C'est que l'adage pretend que pour croire, L'important ne serait que de voir Lofofora To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message