Commit | Line | Data |
---|---|---|
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 | |
10 | edquota \- 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 | |
20 | is a quota editor. One or more users | |
21 | may be specified on the command line. | |
22 | For each user a temporary file is created | |
23 | with an ASCII representation of the current | |
24 | disc quotas for that user and an editor is | |
25 | then invoked on the file. The quotas may then | |
26 | be modified, new quotas added, etc. Upon | |
27 | leaving the editor, | |
28 | .I edquota | |
29 | reads the temporary file and modifies the binary | |
30 | quota files to reflect the changes made. | |
31 | .PP | |
32 | If the | |
33 | .B \-p | |
34 | option is specified, | |
35 | .I edquota | |
36 | will duplicate the quotas of the prototypical user | |
37 | specified for each user specified. This is the normal | |
38 | mechanism used to initialize quotas for groups | |
39 | of users. | |
40 | .PP | |
41 | The editor invoked is | |
42 | .IR vi (1) | |
43 | unless the environment variable EDITOR specifies otherwise. | |
44 | .PP | |
45 | Only 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 | |
52 | quota(1), quota(2), quotacheck(8), quotaon(8), repquota(8) | |
53 | .SH DIAGNOSTICS | |
54 | Various messages about inaccessible files; self-explanatory. | |
55 | .SH BUGS | |
7ffbc5ba | 56 | The format of the temporary file is inscrutable. |