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

Redistribution and use in source and binary forms are permitted
provided that this notice is preserved and that due credit is given
to the University of California at 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'' without express or implied warranty.

@(#)edquota.8 6.3 (Berkeley) 05/20/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.