From owner-freebsd-current Wed Feb 5 17:39:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA03478 for current-outgoing; Wed, 5 Feb 1997 17:39:43 -0800 (PST) Received: from pahtoh.cwu.edu (root@pahtoh.cwu.edu [198.104.65.27]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA03473 for ; Wed, 5 Feb 1997 17:39:36 -0800 (PST) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by pahtoh.cwu.edu (8.6.13/8.6.9) with ESMTP id RAA10668; Wed, 5 Feb 1997 17:39:29 -0800 Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.5/8.8.5) with SMTP id RAA15505; Wed, 5 Feb 1997 17:39:28 -0800 (PST) Date: Wed, 5 Feb 1997 17:39:28 -0800 (PST) From: Chris Timmons To: Satoshi Asami cc: davidn@labs.usn.blaze.net.au, taob@vex.net, freebsd-current@freebsd.org Subject: Re: /etc/login.conf and xdm logins In-Reply-To: <199702050758.XAA29528@silvia.HIP.Berkeley.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk A refreshing break perhaps consideration of this problem will be for beleagured -current readers :) Any luck with just the plain vanilla system with stock /etc/login.conf, no class memberships in /etc/master.passwd, telnet login as root? I have the same problem as satoshi. I can't even seem to get the default: values to come up. The best I can do in my tcsh is to say 'unlimit' which gives me: # limit cputime unlimited filesize 65536 kbytes datasize 32768 kbytes stacksize 16384 kbytes coredumpsize 0 kbytes memoryuse unlimited descriptors 8232 memorylocked 126344 kbytes maxproc 4115 In my kernel config I have: options "MAXDSIZ=201326592UL" options "DFLDSIZ=134217728UL" options "DFLSSIZ=33554432UL" which results in the expected increases on a 2.2 system after a tcsh unlimit. I was able to use limits(1) to override filesize to infinity for a bonnie run, but I can't seem to make it stick. Btw, the limits(1) man page xrefs a non-existing ulimit(1) page, too. -Chris On Tue, 4 Feb 1997, Satoshi Asami wrote: > * From: davidn@labs.usn.blaze.net.au (David Nugent) > > * limits -C xuser /usr/X11R6/bin/xdm [args] > * > * (replace 'xuser' with whatever entry you wish). > * > * Modifying xdm is on my login_cap todo list, but of course > * this may take some time to filter into an XFree release. > > I think I'm just dense, but I can't for my life figure out how to use > this login.conf thing. I copied the file from /usr/src/etc, edited > it, called cap_mkdb on it, rebooted the system, but whatever I do I > just get: > > ## limits -C root > Resource limits for class root: > cputime infinity secs > filesize 65536 kb > datasize-cur 16384 kb > stacksize-cur 8192 kb > coredumpsize 0 kb > memoryuse-cur 32768 kb > memorylocked 29740 kb > maxprocesses-cur 64 > openfiles-cur 256 > > This system is -current (built just a few hours ago). > > David, what about adding a handbook chapter for it? (I suggest > "login.conf for idiots" ;) > > Satoshi >