manimurugan
IS-IT--Management
hi,
I am able to use rsh to execute any commands and shells of other system, but only in /etc, /usr/bin and other rootvg directories. ( From node1, "rsh node2 df" is ok).But even as a root user, i am not able to run remotely, shell scripts which is in a filesystem from non-rootvg volume groups. ( from node1, "rsh node2 myshell.sh" is not ok. myshell.sh is in /u01/app/xxx directory).If I give full path name like "rsh node2 /u01/app/xxx/myshell.sh", that works. I don't want to give full path name everytime. How do I do that. My local & remote PATH is fine for /u01/app/xxx. my .rhosts are ok. I am able to rlogin without any problem.
Can someone suggest me how do I do that ?
-Mani- [sig][/sig]
I am able to use rsh to execute any commands and shells of other system, but only in /etc, /usr/bin and other rootvg directories. ( From node1, "rsh node2 df" is ok).But even as a root user, i am not able to run remotely, shell scripts which is in a filesystem from non-rootvg volume groups. ( from node1, "rsh node2 myshell.sh" is not ok. myshell.sh is in /u01/app/xxx directory).If I give full path name like "rsh node2 /u01/app/xxx/myshell.sh", that works. I don't want to give full path name everytime. How do I do that. My local & remote PATH is fine for /u01/app/xxx. my .rhosts are ok. I am able to rlogin without any problem.
Can someone suggest me how do I do that ?
-Mani- [sig][/sig]