|
Posted by Jerry Stuckle on 04/02/06 05:41
mikeisgreat@gmail.com wrote:
> Well, correct...
>
> it would be apache on apache .. but the admin tool would run on a
> machine sperate from the webservers it needs to restart, but on the
> same network
>
> I have a script that restartarts all three apaches ....
>
> is there a safer way to run this script via apache? The script is run
> my a user that has 'sudo' privz to restart all apaches with no
> password.
>
> I am guessing there is not easy way to tell apache to run this script
> as this user?
>
> thanks.
>
There's no safe way to do it. Remember - if you can do it via the website, a
hacker can do it, also.
My suggestion - stick with the ssh script.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|