From owner-freebsd-jail@FreeBSD.ORG Thu Oct 25 19:22:24 2007 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 842D016A47B for ; Thu, 25 Oct 2007 19:22:23 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4328313C465 for ; Thu, 25 Oct 2007 19:22:23 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2292019E02A; Thu, 25 Oct 2007 21:22:22 +0200 (CEST) Received: from [192.168.1.2] (r3a200.net.upc.cz [213.220.192.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id A23F219E027; Thu, 25 Oct 2007 21:22:15 +0200 (CEST) Message-ID: <4720ED51.5030501@quip.cz> Date: Thu, 25 Oct 2007 21:24:01 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Anton - Valqk References: <47209044.3080307@lozenetz.org> In-Reply-To: <47209044.3080307@lozenetz.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: User Quota inside jail? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 19:22:24 -0000 Anton - Valqk wrote: > Hello Group, > > I'm wondering if I can set quota inside a jail for user in it. > > For example: > > jail root: /usr/jails/testjail - this is a separate partition mounted > with quota support > > in the jail I have user: testuser > > I want to set a quota 1G for him in his home - > /usr/jails/testjail/home/testuser > > is this possible? > I was thinking of making edquota from outside the jail and setting it > from there... > but I got error the uid dosen't exists.... You can try numerical UID instead of "someusername" from host system (outside of jail - I did not test it, so it my or may not work) Miroslav Lachman