delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/14/08:36:23

From: toddpw AT ugcs DOT caltech DOT edu (Todd P. Whitesel)
Subject: Re: No rsh on NT?! (was Re: Yes! A _new_ inetd problem!)
14 Jun 1998 08:36:23 -0700 :
Message-ID: <6m0d8t$eev.cygnus.gnu-win32@gap.cco.caltech.edu>
References: <gnu-win32 DOT kjcyav8av00 DOT fsf AT orion DOT i-did-not-set--mail-host-address--so-shoot-me>
To: mlist-gnu-win32 AT nntp-server DOT caltech DOT edu

Andy Mortimer <Andy DOT Mortimer AT aeat DOT co DOT uk> writes:

>Sergey Okhapkin <sos AT prospect DOT com DOT ru> writes:
>> Todd P. Whitesel wrote:

>> > rlogind consistently causes my solaris rlogin to print "Connection
>> > closed.", and dumps core ("in.rlogind.exe.core") into inetd's
>> > working directory.
>> 
>> Neither rlogind, nor rshd shouldn't work because authentication method is 
>> not compatible with NT's security model.

>So, is there any way I can remotely execute commands on an NT box from
>a script on a UNIX box? I can't think of another way -- at least, not
>without hardcoding my password :-( -- but some of you might be able to
>do better.

Would a cheap 'rexec' server be good enough? I've got plenty of pre-fabbed
socket code lying around from prior projects. It wouldn't take long to write
a program that sits on a TCP port, reads the argv from each incoming
connection, and does a fork/exec to run the command.

Clearly non-optimal for cygwin, but it gets the job done. In my case that
means connecting to my office network from home, and getting my PC to start
a cygwin xterm with the display set to my home machine.

Dunno what is required to make it suitable for use as an NT service though.

Todd Whitesel
toddpw @ ugcs.caltech.edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019