From: Danny Horne <danny@cl...> - 2002-12-28 00:00:58
Originally emailed this to the plugin administrator, but looking in the
archives it looks like he's doing his national service, so can anyone here
I've been trying for hours now to get the disk_quota plugin for
Squirrelmail working, my setup -
This is the relevant config from sudoers -
www ALL = NOPASSWD: /usr/bin/wwwquota [A-z]*, /usr/bin/quota [A-z]*
%www ALL = NOPASSWD: /usr/bin/wwwquota [A-z]*, /usr/bin/quota [A-z]*
I know this config is being read because I tried another entry using my
own username, setting & unsetting 'NOPASSWD', when NOPASSWD was unset I
was not able to run commands through sudo without supplying a password.
I'm not too sure about the [A-z]* bit, all my usernames are lower case.
Apache runs as user / group www / www
What I'm seing is entries in http-error.log -
I'm presuming that when disk_quota tries to run quota or wwwquota (I've
tried both) through sudo, for some reason it's not reading sudoers, but I
just can't see that.
Any help you can give would be brilliant
To do is to be -- Nietzsche
To be is to do -- Sartre
Scooby do be do -- Scooby