From owner-freebsd-questions@FreeBSD.ORG Thu May 19 16:51:35 2005 Return-Path: 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 CF42216A4CE for ; Thu, 19 May 2005 16:51:35 +0000 (GMT) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3204243DA9 for ; Thu, 19 May 2005 16:51:34 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 19 May 2005 17:52:13 +0100 Message-ID: <428CC414.6010007@dial.pipex.com> Date: Thu, 19 May 2005 17:51:32 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.7) Gecko/20050510 X-Accept-Language: en, en-us MIME-Version: 1.0 To: James Tucker References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 May 2005 16:52:13.0333 (UTC) FILETIME=[1B072C50:01C55C93] cc: questions@freebsd.org Subject: Re: Limiting Filesizes with /etc/login.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 16:51:35 -0000 James Tucker wrote: > Yes, your reply does answer my question, quota'ing does seem to >be a solution but I don't want to restrict from users for possessing >multiples of 10MB files. > > I have already implemented quota's to prevent them from taking >up more than their designated home dir space, although it didn't seem, >from what I have read, that is possible to do much else with the quotas? > > Then you'll have to do what syadmins have been doing since time immemorial: write your own script. Find over the filesystems you care about looking for files which the parameters you care about. Send mail when you find something, or be nasty and delete the file or whatever. Run it from cron as often as you deem necessary. --Alex