From owner-freebsd-current Sat Apr 24 6:40:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from wanadoo.fr (smtp-out-004.wanadoo.fr [193.252.19.87]) by hub.freebsd.org (Postfix) with ESMTP id 2ADC814FC6 for ; Sat, 24 Apr 1999 06:40:15 -0700 (PDT) (envelope-from stephane@wanadoo.fr) Received: from bdijon1-2-144.abo.wanadoo.fr [193.250.195.144] by wanadoo.fr for Paris Sat, 24 Apr 1999 15:40:02 +0200 (MET DST) Received: (from stephane@localhost) by sequoia.mondomaineamoi.megalo (8.9.3/8.9.1) id PAA01205; Sat, 24 Apr 1999 15:37:50 +0200 (CEST) (envelope-from stephane) Date: Sat, 24 Apr 1999 15:37:50 +0200 (CEST) Message-Id: <199904241337.PAA01205@sequoia.mondomaineamoi.megalo> From: Stephane Legrand MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Andrzej Bialecki Cc: Luigi Rizzo , current@FreeBSD.ORG Subject: Re: does login.conf limitations work ? In-Reply-To: References: <199904231110.NAA00657@labinfo.iet.unipi.it> X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrzej Bialecki writes: > On Fri, 23 Apr 1999, Luigi Rizzo wrote: > > > Hi, > > > > i was wondering if the limitations that are supposed to be enforced via > > the login.conf mechanism do really work... > > > > In particular, i have tried (on 3.1 something, but don't think that > > current is much different in this respect) to enforce the daily etc. > > login times but the system seems to ignore them. > > > > I think /etc/login.conf is properly parsed, because if i assign a user > > to a class that is not defined in login.conf i get complaints, but > > other than that i am unable to limit login time... > > > > Any hints ? > > That's also my impression. I glipmsed the whole source tree and I couldn't > find any place where the limits are enforced. BTW. what entity should > enforce login time limits? Kernel? Some user-space daemon? > To report a login.conf success, i've used on a 2.2.8 system the "cputime" ressource limit. I set it to zero and that worked very well. So may be only some limits are implemented ? Stephane Legrand. -- Stephane.Legrand@wanadoo.fr : http://perso.wanadoo.fr/stephane.legrand/ FreeBSD Francophone : http://www.freebsd-fr.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message