[K12OSN] Email notifications on quota limits

Jim Kronebusch jim at winonacotter.org
Fri Feb 25 19:47:17 UTC 2005


> This has to be a simple thing to do so here it goes.  Does 
> anyone know how or currently have a script or something that 
> could be set in certain increments (daily, hourly, etc) to do 
> a quota check, determine all users that are say over 90% of 
> their quota, and then email a canned message to both the 
> users in question and to the system administrator?

I stumbled across something called warnquota.  From man warnquota I see
it uses the following files:

 aquota.user
 quota.user
 /etc/warnquota.conf
 /etc/quotatab
 /etc/mtab
 /etc/passwd

I'll try playing around with this and see if it will do what I want.

Thanks, 


-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.




More information about the K12OSN mailing list