From owner-freebsd-stable Tue Dec 12 1:44:48 2000 From owner-freebsd-stable@FreeBSD.ORG Tue Dec 12 01:44:44 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from ramstind.gtf.ol.no (ramstind.gtf.ol.no [128.39.174.16]) by hub.freebsd.org (Postfix) with ESMTP id 366CB37B400; Tue, 12 Dec 2000 01:44:43 -0800 (PST) Received: from localhost (trond@localhost) by ramstind.gtf.ol.no (8.9.3/8.9.3) with ESMTP id KAA30152; Tue, 12 Dec 2000 10:43:44 +0100 (CET) (envelope-from trond@ramstind.gtf.ol.no) Date: Tue, 12 Dec 2000 10:43:44 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= To: Alexey Dokuchaev Cc: FreeBSD questions , FreeBSD stable Subject: Re: How come accounting limits of login.conf still doesn't work?! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 12 Dec 2000, Alexey Dokuchaev wrote: > How come that all kewl features, such as sessionlimits, idletimes, etc all > are documented in man login.conf(5), but never seemed to work? It's 4.2 > already, and it still doesn't make any difference? One thought springs to mind, did you run cap_mkdb /etc/login.conf after editing the /etc/login.conf file? Also, I have noticed that the out-of-the-box version of the /etc/login.conf file has some ridiculous values for the default class, most of the values are set to unlimited! I had to use the /etc/login.conf file from an old 2.2.8 system as a template when setting up some more sane values for the /etc/login.conf file for a 3.5-STABLE system. HTH. -- ---------------------------------------------------------------------- Trond Endrestøl | trond@ramstind.gtf.ol.no Patron of The Art of Computer Programming| FreeBSD 3.5-S & Pine 4.21 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message