Commit | Line | Data |
---|---|---|
16e5815a | 1 | .\" Copyright (c) 1983 Regents of the University of California. |
f9ac90b4 | 2 | .\" All rights reserved. |
16e5815a | 3 | .\" |
f9ac90b4 | 4 | .\" Redistribution and use in source and binary forms are permitted |
57a981eb KB |
5 | .\" provided that the above copyright notice and this paragraph are |
6 | .\" duplicated in all such forms and that any documentation, | |
7 | .\" advertising materials, and other materials related to such | |
8 | .\" distribution and use acknowledge that the software was developed | |
9 | .\" by the University of California, Berkeley. The name of the | |
10 | .\" University may not be used to endorse or promote products derived | |
11 | .\" from this software without specific prior written permission. | |
12 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
13 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
14 | .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
f9ac90b4 | 15 | .\" |
57a981eb | 16 | .\" @(#)edquota.8 6.4 (Berkeley) %G% |
16e5815a | 17 | .\" |
0fd6ac2a | 18 | .TH EDQUOTA 8 "" |
16e5815a KM |
19 | .UC 5 |
20 | .SH NAME | |
21 | edquota \- edit user quotas | |
22 | .SH SYNOPSIS | |
23 | .B edquota | |
24 | [ | |
25 | .B \-p | |
26 | .I proto-user | |
27 | ] | |
28 | .IR users ... | |
29 | .SH DESCRIPTION | |
30 | .I Edquota | |
31 | is a quota editor. One or more users | |
32 | may be specified on the command line. | |
33 | For each user a temporary file is created | |
34 | with an ASCII representation of the current | |
35 | disc quotas for that user and an editor is | |
36 | then invoked on the file. The quotas may then | |
37 | be modified, new quotas added, etc. Upon | |
38 | leaving the editor, | |
39 | .I edquota | |
40 | reads the temporary file and modifies the binary | |
41 | quota files to reflect the changes made. | |
42 | .PP | |
43 | If the | |
44 | .B \-p | |
45 | option is specified, | |
46 | .I edquota | |
47 | will duplicate the quotas of the prototypical user | |
48 | specified for each user specified. This is the normal | |
49 | mechanism used to initialize quotas for groups | |
50 | of users. | |
51 | .PP | |
52 | The editor invoked is | |
53 | .IR vi (1) | |
54 | unless the environment variable EDITOR specifies otherwise. | |
55 | .PP | |
56 | Only the super-user may edit quotas. | |
57 | .SH FILES | |
58 | .DT | |
59 | \fIquotas\fP at the root of each file system with quotas | |
60 | .br | |
61 | /etc/fstab to find file system names and locations | |
62 | .SH SEE ALSO | |
63 | quota(1), quota(2), quotacheck(8), quotaon(8), repquota(8) | |
64 | .SH DIAGNOSTICS | |
65 | Various messages about inaccessible files; self-explanatory. | |
66 | .SH BUGS | |
7ffbc5ba | 67 | The format of the temporary file is inscrutable. |