edquota(1M)
NAME
edquota − edit user quotas
SYNOPSIS
/usr/etc/edquota [ −p proto-user ] usernames...
/usr/etc/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 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.
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.)
OPTIONS
−p 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.
−t Edit the soft time limits for each file system. If the time limits are zero, the default time limits in <ufs/quota.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
quotasat the root of each file system with quotas
/etc/mtabto find file system names and locations
SEE ALSO
quota(1), quotactl(2), quotacheck(1M), quotaon(1M), repquota(1M)
See Managing Disk Drives, in the CX/UX System Administration Manual.
DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.
NOTES
The temporary file contains one line for each local file system which has a quotas file. Be careful to edit only the variable portions of the lines in the temporary file.
The following sample entry indicates that the current user has a soft limit of 1000 1024-byte blocks of disk space, a hard limit of 3000 1024-byte blocks of disk space, a soft limit of 50 files, and a hard limit of 100 files on file system /usr5:
fs /usr5 blocks (soft = 1000, hard = 3000) inodes (soft = 50, hard = 100)
When the -t option is used, the format of the temporary file is as follows:
fs /usr5 blocks time limit = 5 days, files time limit = 8 days
CX/UX Administrator’s Reference