[Nottingham] limiting a user's quota

Graeme Fowler graeme at graemef.net
Tue Feb 10 22:04:51 GMT 2004


Hi

On Tue, 2004-02-10 at 19:36, danny wrote:
> in /home i did "touch aquota.user;chmod 600 aquota.user"

You need to actually have some content in that file :)
aquota.[user|group] is a database file, of sorts. It gets created with
the "quotacheck" command, something like:

# just to be sure, remount /home with quota support
remount -o defaults,usrquota /home
# turn quotas off to avoid corruption while recalculating
quotaoff /home
# check user & group quotas, ignore previous file, be verbose
quotacheck -cugvm /home
# turn quotas back on again
quotaon /home

What you've just done there may replicate some of what you already did,
but will create the relevant aquota.[user|group] files for you and
enable them for use.

HTH!

Graeme
-- 
Graeme Fowler <graeme at graemef.net>



More information about the Nottingham mailing list