EDQUOTA(8) — Kubota Pacfic Computer Inc. (May 19, 1986)
NAME
edquota − edit user quotas
SYNOPSIS
edquota [ −p proto-user ] users...
DESCRIPTION
Edquota is a quota editor. One or more users may be specified on the command line. For each user a temporary file is created with an ASCII representation of the current disc quotas for that user 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. Note that the block limits are represented in terms of 1 Kbyte blocks, regardless of the file system’s logical block size, so some rounding may occur.
If the −p option is specified, edquota will 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.
The editor invoked is vi(1) unless the environment variable EDITOR specifies otherwise.
Only the super-user may edit quotas.
To define quotas for the first time, create an empty file called quotas in the root of each file system where quotas are to be enforced, and then run edquota .
FILES
quotasat the root of each file system with quotas
/etc/fstabto find file system names and locations
SEE ALSO
quota(1), quota(2), setquota(2), quot(8), quotacheck(8), quotaon(8), repquota(8)
DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.
BUGS
The format of the temporary file is inscrutable.
September 02, 1992