From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078611110598.tru64-unix-managers.marc@archive.invalid> From: "Carlos Dagnino M" Date: Tue, 22 Apr 1997 19:35:19 +0000 To: tru64-unix-managers Subject: SUMMAY : help with rsh beteen VMS and UNIX X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078611110598 Many thanks to this persons that answed helping me to solve this problem : Gyula Szokoly Randy Hayman Casey Spangler Craig Gleason Jorge Alfaro Mario Aviles The original e-mail was: >-------------------------------------------------------------------- > >Dear Gurus, >I have a machine with Digital Unix V3.2G and other with OpenVms 6.2. >I need to execute VMS command procedure (DCL) from the Unix machine >using remote shell (rsh). In UNIX, I defined the vms host in >/etc/hosts.equiv and in user home directory .rhosts file. >In VMS, I defined : > >$ ucx add proxy /host=/user= > >If I execute a VMS command in unix machine, for example : > > ># rsh dir > > >the answer is : > > >UCX$RSHD - Permission denied - client user: > > >How can I define de remote proxy correctly ? > >Thanks for reading and appreciate any input. > >------------------------------------------------------------------ My problem was the VMS UCX proxy definition. Now I used quotes and lowercase to specify the remote-user in UCX add proxy command. The remote command is running ok. Before this, I used lowercase but I didn't use quotes and UCX assumed UPERCASE to define the remote-user. This are the little/bigs details. Other importants conclusions: * I removed vms-host from .rhost and from /etc/hosts.equiv files. This was not necesary to get access from unix to vms. * if the unix-user is not the same in vms machine then I have to use the unix rsh command with -l option : # rsh -l Thanks to all of you. ___________________________________________________________________ Carlos Dagnino Mardones System Engineer e-mail: Carlos.Dagnino@consorcio.cl Consorcio Nacional de Seguros-Vida Santiago de Chile ________________[best regards from the end of the world]______________