date and time created 87/02/05 15:19:02 by slatteng
[unix-history] / usr / src / usr.sbin / edquota / edquota.8
CommitLineData
16e5815a
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
7ffbc5ba 5.\" @(#)edquota.8 6.2 (Berkeley) %G%
16e5815a 6.\"
0fd6ac2a 7.TH EDQUOTA 8 ""
16e5815a
KM
8.UC 5
9.SH NAME
10edquota \- edit user quotas
11.SH SYNOPSIS
12.B edquota
13[
14.B \-p
15.I proto-user
16]
17.IR users ...
18.SH DESCRIPTION
19.I Edquota
20is a quota editor. One or more users
21may be specified on the command line.
22For each user a temporary file is created
23with an ASCII representation of the current
24disc quotas for that user and an editor is
25then invoked on the file. The quotas may then
26be modified, new quotas added, etc. Upon
27leaving the editor,
28.I edquota
29reads the temporary file and modifies the binary
30quota files to reflect the changes made.
31.PP
32If the
33.B \-p
34option is specified,
35.I edquota
36will duplicate the quotas of the prototypical user
37specified for each user specified. This is the normal
38mechanism used to initialize quotas for groups
39of users.
40.PP
41The editor invoked is
42.IR vi (1)
43unless the environment variable EDITOR specifies otherwise.
44.PP
45Only the super-user may edit quotas.
46.SH FILES
47.DT
48\fIquotas\fP at the root of each file system with quotas
49.br
50/etc/fstab to find file system names and locations
51.SH SEE ALSO
52quota(1), quota(2), quotacheck(8), quotaon(8), repquota(8)
53.SH DIAGNOSTICS
54Various messages about inaccessible files; self-explanatory.
55.SH BUGS
7ffbc5ba 56The format of the temporary file is inscrutable.