Solved

REXEC/RSH of NT-Process from VMS

Posted on 1998-10-08
6
566 Views
Last Modified: 2013-12-28
How can I start a process (or batch-file) with
REXEC/RSH from a VMS ALPHA / V7.1 on a NT-PC ?
0
Comment
Question by:gnow
  • 3
  • 3
6 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 150 total points
ID: 1793409
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
 

Author Comment

by:gnow
ID: 1793410
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1793411
it's working for NT workstation too (for me)
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:gnow
ID: 1793412
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1793413
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
 

Author Comment

by:gnow
ID: 1793414
Looks like I need some more VMS specific information.
Thanks !
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now