How to use warnquota?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I enabled quota in my testing fc3 linux system.  The repquota -a reports
the quota usage for all users, and if a user uses more qutoa than the hard
limit, the system does not allow that user to create/modify any file.  It
looks okay.  My question is: how to use warnquota to send warning to the
user who's usage exceeds the soft-limit?  I set /etc/warnquota.conf as:

MAIL_CMD        = "/usr/sbin/sendmail -t"
FROM            = "root"
SUBJECT         = NOTE: You are exceeding your allocated disk space limits
CC_TO           = "root@localhost"
MESSAGE         = Your disk usage has exceeded the agreed limits\
 on this server|Please delete any unnecessary files in your email inbox
and in saved email-folders,\
 | e.g. in Sent folder.|Thank you!|
SIGNATURE       = root@localhost

All of the above are default, I just comment out the ones for groups.

But, it seems that it does not do anything. How to run warnquota?  Do I
need to create my own script to run it? as daemon or as ...?

Thanks a lot!

Hongwei Li


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux