delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/26/18:52:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 26 Jun 2003 23:52:11 +0100
From: Elfyn McBratney <elfyn AT cygwin DOT com>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: Bruce Dobrin <dobrin AT imageworks DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: unable to autologin to 2003
In-Reply-To: <01bc01c33c31$27732ef0$4d1f1cac@THEODOLITE>
Message-ID: <Pine.CYG.4.55.0306262347490.3636@ellixia>
References: <217E3C0C100E144B93AF131E71C6D62A0373B973 AT edc-exchange DOT everdreamcorp DOT com>
<01bc01c33c31$27732ef0$4d1f1cac AT THEODOLITE>
MIME-Version: 1.0

On Thu, 26 Jun 2003, Bruce Dobrin wrote:

> I hope this isn't a stupid question.  I configure cygwin with a script which
> installs all passwd,  hosts.equiv, inetd etc.....  I have hundreds of
> machines configured this way on which all is well.  I just installed 2003
> server,  cygwin, and ran the autoconfig script.  I am unable to rsh to this
> machine.  I get:
>
> dobrin AT srdalien2:/home/dobrin> rlogin srdalien2
> Switching to user dobrin failed!
> rlogin: connection closed.
>
> or
>
> dobrin AT srdalien2:/home/dobrin> rlogin srdalien2 -l dobrin
> Switching to user dobrin failed!
> rlogin: connection closed.
>
>
> cygwin settingis :
> dobrin AT srdalien2:/home/dobrin> echo $CYGWIN
> binmode tty ntsec
>
> Is there a known 2003 server issue,  I searched the mailing lists pretty
> carefully,  but sisn't turn up anything.
>
> telnet and non interactive rsh (rather than  rlogin),  work fine.

AFAIK, none of the core developers have a copy of Windows 2003 Server to test
this stuff on. So, if you want/need help, you'll have to try and debug this
yourself.

It looks as though Cygwin cannot switch user context to 'dobrin' on your
server, so the first place to start would be checking that the account that's
running the rshd service has the required privileges (see
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID> for more) to switch
user context, normally SYSTEM (LocalSystem).

Elfyn
-- 


--
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