From owner-freebsd-stable Mon May 14 7: 7:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 79AFC37B423 for ; Mon, 14 May 2001 07:07:21 -0700 (PDT) (envelope-from dfrazier@magpage.com) Received: from magpage.com (dfrazier@poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.2/8.11.2) with ESMTP id f4EE7DN62152; Mon, 14 May 2001 10:07:13 -0400 (EDT) Message-ID: <3AFFE691.A3771505@magpage.com> Date: Mon, 14 May 2001 10:07:13 -0400 From: Daniel Frazier X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Chan Tur Wei Cc: stable@FreeBSD.ORG Subject: Re: .login_conf can overwrite values from /etc/login.conf References: <20010514151159.X39013-100000@zaapth.twnet.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chan Tur Wei wrote: > > Hi, > > Not sure if this has been brought up before, but .login_conf can apparently > overwrite values in the system's /etc/login.conf. > > > Is this really the intended effect? It feels like a big bug to me... > from man login.conf... The current (soft) limit is the one normally used, although the user is permitted to increase the current limit to the maximum (hard) limit. The maximum and current limits may be specified individually by appending a -max or -cur to the capability name. so unless you have filesize-max defined in /etc/login.conf the user will be able to increase it in their ~/.login.conf. Not sure if there's an *implied* someresource-max if someresource(-cur implied) is defined. -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message