edquota(1M)edquota(1M)NAMEedquota - edit disk quotas
SYNOPSIS
proto_name] name...
DESCRIPTION
The command is the quota editor. One or more name of either users or
groups can be specified on the command line. For each name, a tempo‐
rary file is created with a textual representation of the current disk
quotas for that user or group, and an editor is invoked on the file.
The quotas can then be modified, new quotas added, and so on. Upon
leaving the editor, reads the temporary file and modifies the binary
quota files to reflect the changes made.
The editor invoked is specified by the environment variable. It
defaults to (see vi(1)).
In order for user quotas to be established on a file system, the root
directory of the file system must contain a file named Similarly, for
group quotas, the file must exist on the root directory of the file
system. See quota(5) for details.
Quotas can be established for all the users or groups on file systems
created with largefiles enabled. However, on HFS file systems and file
systems on which largefiles is not enabled, quotas cannot be created
for user ids greater than 67,000,000. Quotas cannot be established for
groups on HFS file systems.
Refer to usergroupname(5) to understand the functionality changes with
the Numeric User Group Name feature.
Only users who have appropriate privileges can edit quotas.
Options
Edits the quotas of one or more groups, specified by
name(s).
Duplicates the quotas of the group (when used with the
option) or user proto_name for each group or user, name.
This is the normal mechanism used to initialize quotas
for groups of users.
Edit the time limits for each file system.
Time limits are set for file systems, not users. When a
user exceeds the soft limit for blocks or inodes on a
file system, a countdown timer is started and the user
has an amount of time equal to the time limit in which
to reduce usage to below the soft limit (the required
action is given by the command). If the time limit
expires before corrective action is taken, the quota
system enforces policy as if the hard limit had been
exceeded. The default time limit of 0 is interpreted to
mean the value in or one week (7 days). 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.
Edits the quotas of one or more users (the default), specified by
name(s).
Temporary File Formats
Here is an example of the temporary file created for editing user block
and inode quotas:
Here is the format for editing quota time limits:
When editing values, it is not necessary to remove the string. For
example, to change the for changing the to is sufficient.
WARNINGS
When establishing quotas for a user who has had none before, (for
either blocks or inodes), the quota statistics for that user do not
include any currently occupied file system resources. Therefore, it is
necessary to run (see quotacheck(1M)) to collect statistics for that
user's current usage of that file system. See quota(5) for a detailed
discussion of this topic.
will only edit quotas on local file systems.
AUTHOR
was developed by the University of California, Berkeley, and by Sun
Microsystems, Inc.
FILES
Static information about the file systems.
Mounted file system table
Group and user quota statistics static storage for a file system
respectively, where
directory is the root of the file sys‐
tem as specified to the command (see
mount(1M)).
SEE ALSOquota(1), vi(1), quotacheck(1M), quotacheck_hfs(1M), quota(5),
usergroupname(5).
edquota(1M)