Hi,
I can run the following remsh command from a HPUX server to a SunOS Server:
remsh x.x.x.x PATH_TO_REMOTE_SCRIPT parameters
but if I want to run the remsh from a script like this:
#!/usr/bin/sh
res = `remsh x.x.x.x PATH_TO_REMOTE_SCRIPT parameters`
echo $res
I get the message
./my_script.sh[3]: res: Execute permission denied
Do you have any sugestions?
I can run the following remsh command from a HPUX server to a SunOS Server:
remsh x.x.x.x PATH_TO_REMOTE_SCRIPT parameters
but if I want to run the remsh from a script like this:
#!/usr/bin/sh
res = `remsh x.x.x.x PATH_TO_REMOTE_SCRIPT parameters`
echo $res
I get the message
./my_script.sh[3]: res: Execute permission denied
Do you have any sugestions?