Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PHP 4.2 Needs To Call Wget
- Google Mike
October 7, 2005, 12:30 am
rate this thread
under the context of root and do the wget command to download a file,
clobbering the previous download of this same filename. It's bombing
without leaving any trace. I tried introducing all manner of chmod,
chown, sudo, and sticky bit, but this fails. The only thing I see in
the syslog is failed sudo authenticaiton for user Apache. What's the
technique to get this working?
Re: PHP 4.2 Needs To Call Wget
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
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.