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 <vms-user>/host=<unix-host>/user=<unix-user>
>
>If I execute a VMS command in unix machine, for example :
>
>
># rsh <vms-host> dir
>
>
>the answer is :
>
>
>UCX$RSHD - Permission denied - client user:<unix-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 <vms-user> <vms-node> <vms command>
Thanks to all of you.
___________________________________________________________________ Carlos
Dagnino Mardones System Engineer
e-mail: Carlos.Dagnino_at_consorcio.cl
Consorcio Nacional de Seguros-Vida
Santiago de Chile
________________[best regards from the end of the world]______________
Received on Wed Apr 23 1997 - 02:01:32 NZST