[sudo-users] Quota function
edwardspl at ita.org.mo
edwardspl at ita.org.mo
Tue Nov 4 11:28:46 EST 2008
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 at 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 at xxx ~]$
BUT the result :
[manager at xxxx ~]$ sudo quota -v edward
Password:
[manager at xxxx ~]$ sudo edquota -p qwe -u zxc
Password:
NEED password ???
So, what misstake I had ?
Many thank for your help !
Edward.
More information about the sudo-users
mailing list