Limiting Filesizes with /etc/login.conf
Alex Zbyslaw
xfb52 at dial.pipex.com
Thu May 19 09:51:35 PDT 2005
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
More information about the freebsd-questions
mailing list