xref: /original-bsd/usr.sbin/edquota/edquota.8 (revision d919d844)
Copyright (c) 1983 Regents of the University of California.
All rights reserved.

Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by the University of California, Berkeley. The name of the
University may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

@(#)edquota.8 6.4 (Berkeley) 07/09/88

EDQUOTA 8 ""
C 5
NAME
edquota - edit user quotas
SYNOPSIS
edquota [ -p proto-user ] users ...
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 disc 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.

If the -p option is specified, edquota will 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.

The editor invoked is vi (1) unless the environment variable EDITOR specifies otherwise.

Only the super-user may edit quotas.

FILES
quotas at the root of each file system with quotas

/etc/fstab to find file system names and locations

SEE ALSO
quota(1), quota(2), quotacheck(8), quotaon(8), repquota(8)
DIAGNOSTICS
Various messages about inaccessible files; self-explanatory.
BUGS
The format of the temporary file is inscrutable.