Mail when users over quota

Dan Nelson dnelson at allantgroup.com
Thu Jun 1 07:47:05 PDT 2006


In the last episode (Jun 01), Bart Braem said:
> We are implementing quota on our servers and it worked out fine. But we
> would like to warn users with a mail when they are over quota. Is there a
> tool that does that? We found warnquota for linux but nothing for FreeBSD.
> We are not the only users of quota who want to warn their users with a
> mail, right?

One way would be to parse the output of "repquota", and send an email
to anyone with a "+" in the 2nd column.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list