<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=Big5" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear All,<br>
<br>
Would you mind to help about this problem ?<br>
<br>
Thanks !<br>
<br>
Edward.<br>
<br>
-------- Original Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>Quota function</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Wed, 05 Nov 2008 00:28:46 +0800</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:sudo-users@sudo.ws">sudo-users@sudo.ws</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Dear All,
Is there config sample for using Quota function ( cmd of quota and
edquota ) ?
For user's bash_profile :
PATH=$<a class="moz-txt-link-freetext" href="PATH:/sbin:/usr/sbin:/usr/local/bin">PATH:/sbin:/usr/sbin:/usr/local/bin</a>
For running with visudo :
HOST = NOPASSWD: /usr/sbin/edquota, /usr/bin/quota
For home directory :
[manager@xxx ~]$ ls -l -h /home/aquota.*
-rw-r--r-- 1 root root 10K Nov 4 23:32 /home/aquota.group
-rw-r--r-- 1 root root 10K Nov 4 23:32 /home/aquota.user
[manager@xxx ~]$
BUT the result :
[manager@xxxx ~]$ sudo quota -v edward
Password:
[manager@xxxx ~]$ sudo edquota -p qwe -u zxc
Password:
NEED password ???
So, what misstake I had ?
Many thank for your help !
Edward.</pre>
</body>
</html>