Solved

How do I execute a RSH on an NT Server

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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 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