<!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">
Hello to you,<br>
<br>
Do you means the Quota function can't be managed by using sudo ?<br>
MUST by root ?<br>
<br>
Thanks !<br>
<br>
Edward.<br>
<br>
Les wrote:<br>
<blockquote cite="mid1226678194.7176.5.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">you need the admin password or the sudoers password to make this work.
If you set up the system yourself, you should have the admin password,
otherwise, contact the system administrator.

Regards,
Les H
On Fri, 2008-11-14 at 21:40 +0800, <a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Dear All,

Would you mind to help about this problem ?

Thanks !

Edward.

-------- Original Message -------- 
                          Subject: 
Quota function
                             Date: 
Wed, 05 Nov 2008 00:28:46 +0800
                             From: 
<a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a>
                               To: 
<a class="moz-txt-link-abbreviated" href="mailto:sudo-users@sudo.ws">sudo-users@sudo.ws</a>


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.
-- 
fedora-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>
To unsubscribe: <a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a>
Guidelines: <a class="moz-txt-link-freetext" href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>