Trying the keys out in differant places now.
The .hosts files i have set uo are correct and like I said in one of my messages it use to work fine with just rsh..
its this ssh thats stuffing me up now.. I just can't get to grips with this password authentication.
Graeme
Nick Rout wrote:
ok so the reason that apache needs to execute the script is that it is a cgi program.
do what Jim suggested ie
Well, you could place the ssh key files in the target user's (max?) .ssh directory, and then use ssh with the -l option as you suggested. Use 'ssh -v' to see which files are being sent/tried.
there area few examples in the package i downloaded, in the file htmlperlseti.hosts
On Mon, 28 Jun 2004 17:02:57 +1200 G Chinnery <[EMAIL PROTECTED]> wrote:
Here is the URL to the script. Duh me I should of put that in my first post. sorry..
I have a mix of Mandrake 8.1 and 10.0 official at the moment.
http://www.mobius-soft.com/htmlperlseti.htm
Jim Cheetham wrote:
G Chinnery wrote:
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 ...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?
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?)Actually, at one level, it doesn't sound like a good idea to have your web server user (apache) doing *anything* except handling the apacheThe 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.
-jim
