[sork] Quota Help for Newbie

Eric Rostetter eric.rostetter at physics.utexas.edu
Thu Jun 24 20:42:11 PDT 2004


Quoting Marco Obaid <marco at muw.edu>:

> RHEL 3 Update 2

I've not used that version, but you probably need to do the following to
get the quota command to work (as root):

chmod u+s /usr/bin/quota
chown root /usr/bin/quota

This sets the quota binary to be suid root, so please consider the security
implications of doing this.  But I'm 99.9% sure you will need to do this
to get things working.



> $conf['server']['driver'] = 'localhost';
>
> // For each driver, we may need to pass some parameters.
[...]
> $conf['server']['params'] = array(
>   'quota_path' => '/usr/bin/quota',
>   'grep_path'  => '/bin/grep'
> );

Looks good...  Try the above suid settings, and then report back what
happens.

You may (probably will) need to patch the sources to match changes I made to
CVS HEAD today.  If you post the output of your quota command, I can better
advise you as to if such patching will be needed or not...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!



More information about the sork mailing list