Solved

How do I execute a RSH on an NT Server

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

20 Experts available now in Live!

Get 1:1 Help Now