RE: cgi and ssh

2008-09-24 Thread Dermot Paikkos
I have a cgi script that needs scp a file from one server to another. Because the script runs under the httpd user With suEXEC you can run that script (and only that script) under an account you create with otherwise very limited privileges. http://httpd.apache.org/docs/1.3/suexec.html

cgi and ssh

2008-09-23 Thread Dermot Paikkos
Hi, I have a cgi script that needs scp a file from one server to another. Because the script runs under the httpd user, for this to work without prompting for password, I need to do a lot of configuring that I am not sure would be consider good practise. For example: the httpd user's account

Re: cgi and ssh

2008-09-23 Thread David Dorward
Dermot Paikkos wrote: Hi, I have a cgi script that needs scp a file from one server to another. Because the script runs under the httpd user With suEXEC you can run that script (and only that script) under an account you create with otherwise very limited privileges.