Re: [Fwd: Quota function]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello to you,

Do you means the Quota function can't be managed by using sudo ?
MUST by root ?

Thanks !

Edward.

Les wrote:
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, edwardspl@xxxxxxxxxx wrote:
  
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: 
edwardspl@xxxxxxxxxx
                               To: 
sudo-users@xxxxxxx


Dear All,

Is there config sample for using Quota function ( cmd of quota and 
edquota ) ?

For user's bash_profile :

PATH=$PATH:/sbin:/usr/sbin:/usr/local/bin

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
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
    

  
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux