Solved

How do I execute a RSH on an NT Server

Posted on 1998-08-04
3
287 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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

11 Experts available now in Live!

Get 1:1 Help Now