From owner-freebsd-questions Sat Aug 7 8:34:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (Postfix) with ESMTP id CB75214D2D for ; Sat, 7 Aug 1999 08:34:24 -0700 (PDT) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id LAA04293; Sat, 7 Aug 1999 11:32:54 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: kev@lab321.ru (Eugeny Kuzakov) Cc: questions@freebsd.org Subject: Re: login.conf features Date: Sat, 07 Aug 1999 15:45:29 GMT Message-ID: <37ac5437.273676606@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 6 Aug 1999 15:17:59 -0400, in sentex.lists.freebsd.questions you wrote: >On Fri, 6 Aug 1999, Doug wrote: > >> On Fri, 6 Aug 1999, Eugeny Kuzakov wrote: >> >> > >> > hi*& >> > >> > Where can I read what features of login.conf really works in 2.2.8-stable? >> > I need to limit momory usage for users and have no success. >> IIRC in 2.2.8 memory limits work, but none of the -cur or -max >> stuff works. What limits are you trying to set exactly? >I tryed "standard" template. I need to limit memory usage. When cvs Hmmm.. this works for me in 2.2.x stable safty:\ :cputime=infinity:\ :datasize-cur=8M:\ :datasize-max=8M:\ :stacksize-cur=4M:\ :stacksize-max=4M:\ :memorylocked-cur=10M:\ :memorylocked-max=10M:\ :memoryuse-cur=10M:\ :memoryuse-max=10M:\ :filesize=infinity:\ :coredumpsize=infinity:\ :maxproc-cur=5:\ :maxproc-max=5:\ :openfiles-cur=64:\ :openfiles-max=64:\ :priority=0:\ :requirehome@:\ :umask=022:\ :tc=auth-defaults: You did remember to cap_mkdb /etc/login.conf and chfn the user into that class right ? ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Who is this 'BSD', and why should we free him?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message