edquota(8)
Name
edquota − edit user quotas
Syntax
edquota [ −p proto-user ] users...
Description
The edquota command is a quota editor. You can specify one or more users on the command line. For each user, edquota creates a temporary file with an ASCII representation of the current disc quotas for that user and an editor is then invoked on the file. You can then modify the quotas, add new quotas, and so forth. Upon leaving the editor, edquota reads the temporary file and modifies the binary quota files to reflect the changes made.
If a valid quota file does not exist, edquota refers the user to quotacheck(.). The user then has the option of either supplying the command quotacheck −f filesystem, which automatically creates the necessary quota file, or creating an empty quota file by various other means.
If the −p option is specified, edquota duplicates for each user, the quotas of the prototypical user specified. This is the usual mechanism used to initialize quotas for groups of users.
The editor invoked is vi(,), unless the environment variable EDITOR specifies otherwise.
Only the superuser can edit quotas.
Diagnostics
Various messages about inaccessible files. Other messages are self-explanatory.
Files
quotas At the root of each file system with quotas
/etc/fstab Used to find file system names and locations
See Also
quota(1), quota(2), quotacheck(8), quotaon(8), repquota(8)
“Disk Quotas in a UNIX Environment,” ULTRIX Supplementary Documents, Volume 3: System Manager