<html>
<head>
<meta name="Content-Style" content="text/css">
</head>
<body>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#FILES">FILES</a><br>
<a href="#quota.user or quota.group">quota.user or quota.group</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<!-- Creator : groff version 1.16.1 -->
<!-- CreationDate: Wed Jan 24 01:42:50 2001
-->
<!-- Total number of pages: 1 -->
<!-- Page: 1 -->
<!-- left margin: 220 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p style="margin-left: 18%"><font size=3>edquota - edit user quotas</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p style="margin-left: 18%"><font size=3><B>edquota</B></font> <font size=3>[</font> <font size=3><B>-p</B></font> <font size=3><I>proto­user</I></font> <font size=3>] [</font> <font size=3><B>-ug</B></font> <font size=3>]</font> <font size=3><I>name</I></font><font size=3>...</font></p>
<p style="margin-left: 18%"><font size=3><B>edquota</B></font> <font size=3>[</font> <font size=3><B>-n</B></font> <font size=3>] [</font> <font size=3><B>-ug</B></font> <font size=3>]</font> <font size=3><B>-t</B></font></p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p style="margin-left: 18%"><font size=3><B>edquota</B></font> <font size=3>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</font> <font size=2>ASCII</font> <font size=3>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,</font> <font size=3><B>edquota</B></font> <font size=3>reads the temporary file and modifies the binary quota files to reflect the changes made.</font></p>
<p style="margin-left: 18%"><font size=3>The editor invoked is</font> <font size=3><B>vi</B></font><font size=3>(1) unless either the</font> <font size=2><B>EDITOR</B></font> <font size=3>or the</font> <font size=2><B>VISUAL</B></font> <font size=3>environment variable specifies otherwise.</font></p>
<p style="margin-left: 18%"><font size=3>Only the super­user may edit quotas. (In order for quotas to be established on a filesystem, the root directory of the filesystem must contain a file, owned by root, called</font> <font size=3><B>quota.user</B></font> <font size=3>or</font> <font size=3><B>quota.group</B></font><font size=3>. See</font> <font size=3><B>quotaon</B></font><font size=3>(8) for details.)</font></p>
<a name="OPTIONS"></a><h2>OPTIONS</h2>
<table width="98%" rules="none" frame="none" cols="4" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="2%">
<p><font size=3><B>-n -u</B></font></p>
<p><font size=3><B>-g</B></font></p>
<p><font size=3><B>-p</B></font></p>
</td>
<td valign="top" align="left" width="15%">
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Edit also non­local quota use rpc.rquotad on remote server to set quota. Edit the user quota. This is the default.</font></p>
<p><font size=3>Edit the group quota.</font></p>
<p><font size=3>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.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="2%">
<p><font size=3><B>-t</B></font></p>
</td>
<td valign="top" align="left" width="15%">
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Edit the soft time limits for each filesystem. If the time limits are zero, the default time limits in</font> <font size=3><B><linux/quota.h></B></font> <font size=3>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.</font></p>
</td>
</tr>
</table>
<a name="FILES"></a><h2>FILES</h2><a name="quota.user or quota.group"></a><h2>quota.user or quota.group</h2>
<table width="99%" rules="none" frame="none" cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="36%">
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>quota file at the filesystem root</font></p>
</td>
</tr>
</table>
<table width="99%" rules="none" frame="none" cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="81%">
<p><font size=3><B>/etc/mtab</B></font></p>
</td>
</tr>
</table>
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p style="margin-left: 18%"><font size=3><B>quota</B></font><font size=3>(1),</font> <font size=3><B>vi</B></font><font size=3>(1),</font> <font size=3><B>quotactl</B></font><font size=3>(2),</font> <font size=3><B>quotacheck</B></font><font size=3>(8),</font> <font size=3><B>quotaon</B></font><font size=3>(8),</font> <font size=3><B>repquota</B></font><font size=3>(8)</font><br>
</p>
</body>
</html>