summaryrefslogtreecommitdiff
path: root/doc/edquota(8).html
blob: 201f4439b06c6d6e1ce0f8640bd9b130d7aefa58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<HTML>
<HEAD>
<TITLE>edquota(8) manualpage</TITLE>
<!-- OWNER_NAME="Marco van Wieringen, OpenWorld System Management" -->
<!-- OWNER_INFO="The OpenWorld Foundation, The Netherlands" -->
<LINK REV=MADE HREF="mailto:mvw@planets.elm.net">
</HEAD>
<BODY>
<H1>NAME</H1>
edquota - edit user quotas
<H1>SYNOPSIS</H1>
<B>edquota</B>
[
<B>-p</B>
<B>proto-user</B>
] [
<B>-ug</B>
]
<B>name</B>
<BR>
<B>edquota</B>
[
<B>-ug</B>
]
<B>-t</B>
<H1>DESCRIPTION</H1>
<B>edquota</B>
is a quota editor.  One or more users or groups may be specified on the command
line.  For each user or group a temporary file is created with an
<B>ASCII</B>
representation of the current disk quotas for that user or group and an editor
is then invoked on the file. The quotas may then be modified, new
quotas added, etc.  Upon leaving the editor,
<B>edquota</B>
reads the temporary file and modifies the binary quota files to reflect
the changes made.
<P>
The editor invoked is
<B>vi (1)</B>
unless the
<B>EDITOR</B>
environment variable specifies otherwise.
<P>
Only the super-user may edit quotas.  (In order for quotas to be
established on a file system, the root directory of the file system must
contain a file, owned by root, called
<B>quota.user</B>
or
<B>quota.group</B>
. See
<A HREF="quotaon(8).html">quotaon (8)</A>
for details.)
<H1>OPTIONS</H1>
<UL>
<LI>
<B>-u</B>
<BR>
Edit the userquota. This is the default.
<LI>
<B>-g</B>
<BR>
Edit the groupquota.
<LI>
<B>-p</B>
<BR>
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.
<LI>
<B>-t</B>
<BR>
Edit the soft time limits for each file system. If the time limits are zero,
the default time limits in &ltlinux/quota.h&gt are used. Time units of sec(onds),
min(utes), hour(s), day(s), week(s), and month(s) are understood. Time limits
are printed in the greatest possible time unit such that the value is greater
than or equal to one.
</UL>
<H1>FILES</H1>
<B>quota.user</B>
 : located at the filesystem root with user quotas
<BR>
<B>quota.group</B>
 : located at the filesystem root with group quotas
<BR>
<B>/etc/fstab</B>
 : to find filesystem names and locations
<H1>SEE ALSO</H1>
<A HREF="quota(1).html">quota (1)</A>,
<A HREF="quotactl(2).html">quotactl (2)</A>,
<A HREF="fstab(5).html">fstab (5)</A>,
<A HREF="quotacheck(8).html">quotacheck (8)</A>,
<A HREF="quotaon(8).html">quotaon (8)</A>,
<A HREF="repquota(8).html">repquota (8)</A>
<H1>BUGS</H1>
The format of the temporary file is inscrutable.
</BODY>
</HTML>