Posted by Google Mike on 10/07/05 18:41
ZeldorBlat wrote:
> Perhaps the apache user isn't in the list of sudo'ers? Although it is
> kind of scary that you have a webpage on the internet trying to execute
> things as root on the local machine...
It's an intranet server behind 3 firewalls and a personal firewall on
the system. The web page is for entry-level sysops to conduct a data
task. I tried the /etc/sudoers approach, which works in most other
cases, but doesn't seem to work in this case.
Last night the only resolution I found was to flip the sticky bit on
the /usr/bin/wget program with:
chown root.root /usr/bin/wget (this was already done on install of
wget)
chmod u+s /usr/bin/wget
That seemed to fix the problem for now, although sticky bit techniques
are not recommended by higher ups at my company.
[Back to original message]
|