Manual Page Result
0
Command: vedquota | Section: 8 | Source: Digital UNIX | File: vedquota.8.gz
vedquota(8) System Manager's Manual vedquota(8)
NAME
vedquota - edits quotas
SYNOPSIS
/usr/sbin/vedquota [-p proto_user] [-u] username ...
/usr/sbin/vedquota [-p proto_group] -g groupname ...
/usr/sbin/vedquota [-u | -g] -t
Specifies a prototypical user or group. A prototypical user or group
has previously-defined, valid quota files that you want to duplicate
for other user or group quota files.
FLAGS
Edits the quotas of one or more groups, specified by groupname on the
command line. Duplicates the established quotas of proto_user for the
specified username. Or, if used with the -g flag, duplicates the quo-
tas of proto_group for the specified groupname. Establishing quotas
for one user or group and then using the -p flag to duplicate these
quotas for other users is the common mechanism used to initialize quo-
tas for multiple users. Sets or changes the default grace period for
which users may exceed their soft limits. By default, or when you
specify -t with the -u flag, the grace period is set for all filesets
with user quotas specified in the /etc/fstab file. Edits the quotas of
one or more users, specified by username ... on the command line. The
-u flag is the default.
DESCRIPTION
Operations supported by the vedquota command are also supported by the
edquota command. See The vedquota command is supported only for back-
ward compatibility with operating system versions earlier than DIGITAL
UNIX Version 4.0 and will be retired in a future release of the prod-
uct.
The vedquota command is a quota editor that allows you to add and mod-
ify user and group quotas. Use the vquota command to display the ex-
isting quota information. Note that disk quotas are displayed as 1
kilobyte blocks.
For each user or group specified, the vedquota command creates a tempo-
rary file with an ASCII representation of the current quotas for that
user or group, then invokes an editor to allow you to modify the file.
The vi editor is invoked by default. To override the default, specify
a different editor for the EDITOR environment variable in your login
file.
Setting a hard limit to 0 (zero) indicates that no quota should be im-
posed. Setting a hard limit to 1 (one) indicates that no allocations
should be permitted. Setting a soft limit to 1 (one) with a hard limit
of 0 (zero) indicates that allocations should be permitted on only a
temporary basis (see the -t flag). The current usage information in
the file is for informational purposes; only the hard and soft limits
can be changed.
For each fileset, the vedquota command creates a temporary file with an
ASCII representation of the current grace period for that user or
group, then invokes an editor to allow you to modify the grace period.
The grace period may be specified in days, hours, minutes, or seconds.
Setting a grace period to 0 (zero) indicates that the default grace pe-
riod should be imposed. Setting a grace period to 1 second indicates
that no grace period should be granted. When you exit the editor,
vedquota reads the temporary file and modifies the quota.user and
quota.group files for the target fileset to reflect the changes made.
Changes in grace periods take effect immediately unless a grace period
is currently in effect. For example, assume a user exceeds a soft
limit and receives a grace period of 7 days. A subsequent change to a
grace period of 1 day will not affect the user's already-invoked grace
period, unless the user drops below the soft limit and exceeds it once
again. The default grace period for a fileset is specified in the
quota.user and quota.group files for the target fileset.
RESTRICTIONS
Only filesets listed in the /etc/fstab directory with a
userquota,groupquota entry can be edited with the vedquota command.
You must be the root user to edit quotas.
FILES
Specifies the command path Contains user quotas for filesets Contains
group quotas for filesets Contains fileset names and locations
RELATED INFORMATION
vquota(1), quotacheck(8), vquotaon(8), quotactl(2), fstab(4). delim
off
vedquota(8)