• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 619
  • Last Modified:

REXEC/RSH of NT-Process from VMS

How can I start a process (or batch-file) with
REXEC/RSH from a VMS ALPHA / V7.1 on a NT-PC ?
0
gnow
Asked:
gnow
  • 3
  • 3
1 Solution
 
ahoffmannCommented:
Install rshsvr on your server and start the service.
rshsvr can be found on ResKit CD, it contains a detailed installation doc too.
Don't forget to setup your .rhosts file before starting rshsvr.
0
 
gnowAuthor Commented:
Is there a possibility to get that service running on a NT Workstation,
because the Service RSHSRV on the ResKit is only available for NT Server !

0
 
ahoffmannCommented:
it's working for NT workstation too (for me)
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
gnowAuthor Commented:
Ok, I found the program, it's installed, it's running,
the .rhosts in winnt\drivers\etc exists, but I get
ACCESS DENIED. Any ideas ?
Are you using this tool from VMS ?

On VMS I'm trying :
$ rsh 218.0.14.65 dir

If I try to use REXEC:
$ rsh 218.0.14.65 /password=x dir
I get the VMS error message:
%RSH-E-FAILED, XStartD Server error 2 executing application di (from remote)

Thanks for your help so far ! Would be greate if you
can give me some more information !
0
 
ahoffmannCommented:
No, no VMS.
But rsh should work from any platform.

ACCESS DENIED  (returned to rsh) usually is a result of a host - username mismatch in .rhosts
if your're using IPs, use IPs in .rhosts too, for example

   218.0.14.65  user
   allowed_host user
   allowed_host.domain user

I'm not shure if M$ has implemented the  /password=x option, it's not standard and a security hole too.
REXEC is somekind different, never tested this a lot.

best test if rshsvr is working properly:

   rsh nt-workstation set

Keep in mind that (UNIX's) rsh uses the environment variable USER to login remote, while on NT it is USERNAME.
So you may also try:

   env USER=user_listed_in_NTs_.rhosts rsh nt-workstation set
0
 
gnowAuthor Commented:
Looks like I need some more VMS specific information.
Thanks !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now