You are here: Re: PHP 4.2 Needs To Call Wget « PHP Programming Language « IT news, forums, messages
Re: PHP 4.2 Needs To Call Wget

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация