Linux System Administration
Quotas
(2) Creating quota files
You need to have
aquota.user
and/or
aquota.group
files in the root (upper most) directory of the partition on which you want to establish disk quotas.
aquota.user
allows quotas for individual users.
aquota.group
allows quotas based on groups.
You can create the files with the following command:
# quotacheck -c /home
This will create the file /home/aquota.user
The -c option means don't read existing quota files. Just perform a new scan and save it to disk.
This file needs to be readable by root only, so (if necesary) do the following :
chmod 600 aquota.user
To create an initial aquota.group file, type :
touch /home/aquota.group
Check the permissions on this file, too.
Prev
Page 5
Next