edquota(1M) edquota(1M)
NAME
edquota - edit user quotas
SYNOPSIS
edquota [-p protouser] username ...
edquota -t
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 disk quotas for that user for each
mounted ufs file system that has a quotas file, and an editor is then
invoked on the file. A null entry is used if no quotas file exists for
a file system. 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 the EDITOR environment variable
specifies otherwise.
Only the superuser may edit quotas. In order for quotas to be esta-
blished on a file system, the root directory of the file system must
contain a file, owned by root, called quotas. See quotaon(1M) for
details.
protouser and username can be numeric, corresponding to the uid of a
user. Unassigned uids may be specified; unassigned names may not. In
this way, default quotas can be established for users who are later
assigned a uid.
OPTIONS
-p Duplicates the quotas of the protouser specified for each user-
name specified. This is the normal mechanism used to initialize
quotas for groups of users.
-t Edits the soft time limits for each file system. If the time lim-
its are zero, the default time limits in
/usr/include/sys/fs/ufsquota.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.
FILES
quotas
quota file at the file system root
/etc/mnttab
table of mounted file systems
SEE ALSO
vi(1), quota(1M), quotacheck(1M), quotaon(1M), repquota(1M).
Page 1 Reliant UNIX 5.44 Printed 11/98