From owner-freebsd-current Tue Feb 4 23:59:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA13178 for current-outgoing; Tue, 4 Feb 1997 23:59:40 -0800 (PST) Received: from dfw-ix4.ix.netcom.com (dfw-ix4.ix.netcom.com [206.214.98.4]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id XAA13167 for ; Tue, 4 Feb 1997 23:59:37 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (wck-ca14-60.ix.netcom.com [207.92.174.124]) by dfw-ix4.ix.netcom.com (8.6.13/8.6.12) with ESMTP id XAA14217; Tue, 4 Feb 1997 23:59:00 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.5/8.6.9) id XAA29528; Tue, 4 Feb 1997 23:58:50 -0800 (PST) Date: Tue, 4 Feb 1997 23:58:50 -0800 (PST) Message-Id: <199702050758.XAA29528@silvia.HIP.Berkeley.EDU> To: davidn@labs.usn.blaze.net.au CC: taob@vex.net, freebsd-current@freebsd.org In-reply-to: <19970205175037.QY28796@labs.usn.blaze.net.au> (davidn@labs.usn.blaze.net.au) Subject: Re: /etc/login.conf and xdm logins From: asami@vader.cs.berkeley.edu (Satoshi Asami) Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * 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