Thanks for all the responses but I just found out why this may not be working. The person who created the perl script did a setuid to another user and is running the program as userA. The setuid is set for userB. I believe that this is the problem. I am probably in the wrong forum for...
It is the same user in testing manually and in trying to use it in the script. No it is not being run as CGI. I am wondering if it has something to do with stdin or stdout?
Hi,
I have a perl script which does an ssh to another system for an ls of a directory. The command used in the script is:
ssh computer dir /archive/myfile
I recieve the message that the remote pc cmd failed.
However, if I do the same command from a command line in a shell it gives me the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.