From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 06:13:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DE2A16A41C for ; Mon, 6 Jun 2005 06:13:50 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C8DD43D4C for ; Mon, 6 Jun 2005 06:13:49 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-149.dynamic.qsc.de [212.202.39.149]) by mail.efacilitas.de (Postfix) with ESMTP id A3302123A3F; Mon, 6 Jun 2005 08:12:18 +0200 (CEST) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 2D5C212B0E7; Mon, 6 Jun 2005 08:12:10 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 41587-05; Mon, 6 Jun 2005 08:12:05 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 1D41212B096; Mon, 6 Jun 2005 08:12:05 +0200 (CEST) Message-ID: <42A3E933.2000702@cs.tu-berlin.de> Date: Mon, 06 Jun 2005 08:12:03 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050517 X-Accept-Language: en-us, en MIME-Version: 1.0 To: DrVince References: <20050605065237.M7642@anonymnet.net> In-Reply-To: <20050605065237.M7642@anonymnet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at example.com Cc: freebsd-questions Subject: Re: Jail and disk space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 06:13:50 -0000 DrVince wrote: > Could I use quota to limit jails? You can add each user of a jail to a specific jail group and use group quotas at the host environment. These words as shell commands: insidethejail# pw addgroup jail01 -g 8001 -M `grep -v '^#' /etc/master.passwd | cut -d: -f1 | tr '\n' ','` outsidethejail# pw addgroup jail01 -g 8001 && edquota -g jail01 This is obviously not a safe limitation as long as the root user of a jail is able to remove users from this group. Björn