edquota(1M) UNIX System V(UFS) edquota(1M)
NAME
edquota - edit user quotas
SYNOPSIS
edquota [ -p proto_user ] 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 super-user may edit quotas. In order for quotas to be
established 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.
proto_user 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.
The options are:
-p Duplicate the quotas of the proto_user specified for each username
specified. This is the normal mechanism used to initialize quotas
for groups of users.
-t Edit the soft time limits for each file system. If the time limits
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
quota(1M), quotacheck(1M), quotaon(1M), repquota(1M), vi(1)
10/89 Page 1