X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@CORPUSMX60B.corp.emc.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

