Solved

How do I execute a RSH on an NT Server

Posted on 1998-08-04
3
298 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

635 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