Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 17:51:32 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        James Tucker <james@rtxnetworks.co.uk>
Cc:        questions@freebsd.org
Subject:   Re: Limiting Filesizes with /etc/login.conf
Message-ID:  <428CC414.6010007@dial.pipex.com>
In-Reply-To: <D3DA091824C8AF419FDE057D7BDDA8AE86B4@SAMANTHA.rtxnetworks.local>
References:  <D3DA091824C8AF419FDE057D7BDDA8AE86B4@SAMANTHA.rtxnetworks.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?428CC414.6010007>