X-Spam-Check-By: sourceware.org
Date: Wed, 22 Mar 2006 13:49:28 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: OpenSSH/SSHD Problem - seteuid 1005: Permission denied (WinXP 64-bit)
Message-ID: <20060322124928.GA9091@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <000001c64d6a$104d95b0$0100000a@sphere>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <000001c64d6a$104d95b0$0100000a@sphere>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
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

On Mar 22 15:35, Glenn wrote:
> 
> I have a problem with "sshd" where it;
>   (1) won't allow users to login, users recieve the message "Read from 
> socket failed: Connection reset by peer"
>   (2) "sshd" terminates prematurely.
> 
> The problem I believe (though I'm not really sure) relates to the second 
> final line of output from the sshd server (see below)
>   "seteuid 1005: Permission denied"
> I'm running Windows XP 64-bit Edition -- it's my belief that seteuid cannot 
> be called from a 32-bit context?? I could be wrong?? Though 

Wrong.  When running Cygwin you're inside the WOW64 32 bit emulation
layer.  You have no access to the 64 bit capabilites and the problem
isn't related.

> debug1: temporarily_use_uid: 1005/513 (e=1002/513)
> seteuid 1005: Permission denied

Is your uid 1002 privileged to switch user context?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

