delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/27/19:23:28

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: Using RSH on Windows 2003 server?
Date: Fri, 27 Jul 2007 18:22:55 -0500
Lines: 37
Message-ID: <f8duoi$kgc$1@sea.gmane.org>
References: <7E9C5D9E5FB9BE4A8616D0AEC0E8FD6911E6DC AT CORPUSMX60B DOT corp DOT emc DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
In-Reply-To: <7E9C5D9E5FB9BE4A8616D0AEC0E8FD6911E6DC@CORPUSMX60B.corp.emc.com>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Li_Adrian wrote:

>> - Did you create /etc/passwd and /etc/group on the server;
> Both of those files were created on the server, in the correct directory.

>> - Are they local users or domain users;
> The users are domain users.

>> - Have you tried rlogin?
> Rlogin works through Cygwin, and it prompted me
> for the password.  Rsh still does not work though.

>> - Do you get the server's welcome message and prompt for a passwd (if not
then check `which rsh` you
> are using -- Windows has it's own rsh command).

Just some random toughts:

- Man rshd shows the meaning of the second error message you received,
"Permission denied.
       The authentication procedure described above failed."
so better test with the same user name that worked with rlogin.

- Windows 2003 server may have its own rshd service running; that could exp=
lain
why rlogin works (it's Cygwin's rlogin service) and rsh does not (it's Wind=
ows
shell service).  The shell service may even be disabled by default in
/etc/inetd.conf (I don't know, I usually disable a lot of things there).

- Domain users may have their HOME directory on remote machines, mounted
directories, and that may be a problem which explains the access denied mes=
sage.
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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