edquota - edit user quotas
edquota [ -p protouser ] [ -ug ] name...
edquota [ -n ] [ -ug ] -t
edquota is a quota editor. One or more users or groups may be specified on the command line. For each user or group a temporary file is created with an ASCII representation of the current disk quotas for that user or group and an editor is then invoked on the file. The quotas may then be modified, new quotas added, etc. Upon leaving the editor, edquota reads the temporary file and modifies the binary quota files to reflect the changes made.
The editor invoked is vi(1) unless either the EDITOR or the VISUAL environment variable specifies otherwise.
Only the superuser may edit quotas. (In order for quotas to be established on a filesystem, the root directory of the filesystem must contain a file, owned by root, called quota.user or quota.group. See quotaon(8) for details.)
|
-n -u -g -p |
Edit also nonlocal quota use rpc.rquotad on remote server to set quota. Edit the user quota. This is the default. Edit the group quota. Duplicate the quotas of the prototypical user specified for each user specified. This is the normal mechanism used to initialize quotas for groups of users. |
||
|
-t |
Edit the soft time limits for each filesystem. If the time limits are zero, the default time limits in <linux/quota.h> are used. Time units of sec(onds), min(utes), hour(s), day(s), week(s), and month(s) are understood. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. |
|
quota file at the filesystem root |
|
/etc/mtab |
quota(1), vi(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8)