From: "Carlos Dagnino M" <carlos.dagnino () consorcio ! cl>
To: tru64-unix-managers
Subject: SUMMAY : help with rsh beteen VMS and UNIX
Date: Tue, 22 Apr 1997 19:35:19 +0000 [thread overview]
Message-ID: <96078611110598.tru64-unix-managers.marc@archive.invalid> (raw)
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@consorcio.cl
Consorcio Nacional de Seguros-Vida
Santiago de Chile
________________[best regards from the end of the world]______________
reply other threads:[~1997-04-22 19:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox