delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/13/22:20:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=KGz5TiFzB52MG5P0
FJNeLiQjA6gaE2nS4waW6DF8OvD3lgHup1z/q1PXjYlzrMWnqbb81saBcrbGbNd6
mNXF3UWcxfg1LsWlOkvEZa6/Hq3xiuGNiO/JtwfeFVhrGXrrnkLRNEKkA8rs5G7z
kODl2Krw1Wd5SH4AT1tGllBICAY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=EQqkuQl4LVvBSC/SwtTRiR
d3CHc=; b=Qz+DMNPYB2Sshi1/Up2NyNWxcIZLMveLeva29F24RFcb5uD0O8fDjm
Lm+D+sKFeOLAsmv2w9eSCSwZDm/Rmt8r7Z4uLPg3ur+ENTxHVR1hs2oBalCrRAJd
wQSEPrpl6SPQApMxWKhhlVvbwiJZyHY7UTa8zr5pHQitZcwXjEYzA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=offices, restaurant, Google, google
X-HELO: mout.perfora.net
Subject: Re: seteuid problem with sshd
To: cygwin AT cygwin DOT com
References: <68371e6b-aee9-4e70-d079-098160f7bf61 AT halcomp DOT com> <1231848485 DOT 20190314025011 AT yandex DOT ru>
From: Bruce Halco <bruce AT halcomp DOT com>
Message-ID: <032d1268-15e7-f10d-bdd7-45effb6b6a2b@halcomp.com>
Date: Wed, 13 Mar 2019 22:20:08 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1
MIME-Version: 1.0
In-Reply-To: <1231848485.20190314025011@yandex.ru>

I had found nothing referencing "No such file or directory", which 
sounds rather different from a permissions problem.

Running sshd under the Local System account made no difference.

passwd -R was no help.

What I did discover was that cygwin/sshd apparently now requires the 
Windows account to be Enabled.  That was not the case previously.

The target systems in my application are in restaurant offices, and only 
use a single Windows login.

As the people who use ssh do not need local Windows accounts, I've 
always used the practice of Disabling those user accounts in Windows. 
The credentials were available to ssh, without the security issues of 
all those extra active accounts.

Unless someone can suggest an alternative, I'll have to leave all those 
accounts Enabled. I can put some long, nasty passwords on them to keep 
the risk acceptable.

Thanks.

Bruce


On 3/13/19 7:50 PM, Andrey Repin wrote:
> Greetings, Bruce Halco!
>
>> I'm having to update a number of cygwin installations that are about a
>> year old (cygwin 2.9.0-3). Usually I just run the installer and
>> everything goes fine.  Occasionally I've run into a problem and had to
>> remove the existing installation and reinstall.
>> Apparently something has changed with ssh.  I now go though the same
>> installation process I've been using for years, but sshd logins fail
>> after connection with
>>       "fatal: seteuid xxxxxx: No such file or directory"
>> The ssh client gets as far as offering the key. The last two lines from
>> the client side are
>>       debug1: Offering public key: bhalco.ssh RSA
>> SHA256:DDFVOXwQIpPODxXJPxp8Mxj1Y1mXsMqdmrvVYi5P51c agent
>>       Connection closed by 192.168.0.12 port 32000
>> I've reproduced the problem on two computers. Both are running Windows
>> 7, although the same update will need to be applied to Windows 10 systems.
>> I haven't found any info using Google or the cygwin archives.
> Please don't lie. The archive is full of recent reports.
>
>> I don't even have a good guess what file or directory is missing.
>> I'd greatly appreciate any suggestions.
> Try changing the owning user of sshd service to LocalSystem for a starter.
>
>


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

- Raw text -


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