G Chinnery wrote:
Jim Cheetham wrote:
Or, set up sudo to allow the apache user to run commands as "max", and then use "ssh servername sudo -u max <commands>"

Whats sudo?

sudo is a program that allows one user to perform tasks with the permissions of a different user. Most commonly used to do something as root, although it can be set up to allow other interesting things. However, you might not need it ...


Actually, at one level, it doesn't sound like a good idea to have your web server user (apache) doing *anything* except handling the apache

The user max is on the web server. But the script only uses the web server to access the other machines.. I didn't write the script I only found it on the net and I have no idea how to program.

Well, we're all pretty much in the dark here, trying to figure out how to best advise you, because we don't really know what you're trying to achieve at the end of the day. Why not post the URL of the script you're using, and perhaps someone will know of an equivalent program that's already set up to run properly with your machines (RedHat, weren't they?)


-jim

Reply via email to