Solved

How do I execute a RSH on an NT Server

Posted on 1998-08-04
3
285 Views
Last Modified: 2008-03-17
I have set up the RSHSRV service on my NT server.  It works with RSH commands from an NT workstation, but access is denied from a Linux shell (and Dynix as well).  How do I get around the NT security, so I can run commands from linux.  I have added a .rhosts file to the NT server with

<hostname>  <username> <username>
0
Comment
Question by:dobrien75
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1586168
read rshsvc.txt and the setup \winnt\system32\driver\etc.rhosts

You must stop and restart rshsvc after changing .rhosts

I use from Linux something like:

  env USER=NT-domain-user-account rsh nt_server cmd "cmd args"
0
 

Author Comment

by:dobrien75
ID: 1586169
Yeah that did the trick.  I had to restart the service.  I'd already done everything right.  Thanks mate
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1586170
that is what happens (to the user) if M$ copies good old fashioned UNIX things and forgets to look at how it realy works.

BTW, see my quotes on the command line, which work from UNIX to NT but not the other way around, even NT to NT fails (probably someone sometimes give us a real shell for NT ;-))
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

920 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