X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=xFkiqGMu62zm0Gvs
	EwjrIm9TUyS7sVPzzGuvtFDRZigkdg9YmPsMrbgoYwSds4/CaN8Jxn/OISUizvIx
	TUOjSwemZE6iYIITJ/GztmgFg8rxoOEWSpqwEmSjbvFDn0IfUnnYiMyQAZkXnImQ
	SE6TlTBlTNxvsTVFODOrMlnvxes=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=UGK0ebtKT5VG1T+lEgmqdu
	h2stU=; b=WZWVXTyAxbh9SH6VujqaNN9YVB084xffiy5qQKt0hQPl/4zwsTXvHi
	wicDDAZKJyKNZ9T3xFdxtAnXWDKtzm5Y5KHtIELLprSEWZGHlpqnUGVOwmEZYInJ
	JKwVUDEE7tvBCx3giSvmRitfjeZRsQYQ4Sy1fAEcM/rKfDYngmxI4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=UD:ru, HX-Priority:Normal, HX-Languages-Length:1570, H*M:yandex
X-HELO: forward102j.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1552575903;	bh=qjWoAdl5AcKCAN2vqkTKZbeST7UuZBDklabMTARj9No=;	h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;	b=hR+gjYsiJVcVTJWLVhGJ6ZW0YSqMr/zJhxjuT0vfc8vibAWtltgCcTpf0Xxaz6iua	 FG/70JVF4QGZTWSNhiykhLMJA6TEydqrtP5mo3stUgbocyadqkiFsRKt/uZMAe2bVB	 XuFJv4MSesBavGFudMC0uKbFKpRSWzt1GNZfHqjA=
Authentication-Results: mxback1g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Thu, 14 Mar 2019 17:56:52 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1365721707.20190314175652@yandex.ru>
To: renaud.rolles@giraudbtp.com, cygwin@cygwin.com
Subject: Re: sshd: fatal: seteuid XXX : No such device or address
In-Reply-To: <018f01d4da73$97704ac0$c650e040$@giraudbtp.com>
References: <011a01d4da5a$96247330$c26d5990$@giraudbtp.com>     <20190314121034.GG3785@calimero.vinschen.de>   <014e01d4da69$965ee650$c31cb2f0$@giraudbtp.com>  <576975390.20190314171124@yandex.ru>  <018f01d4da73$97704ac0$c650e040$@giraudbtp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Greetings, renaud.rolles@giraudbtp.com!

>> Please remove /etc/passwd and /etc/group files. They are no longer
>> necessary, unless you have some very special needs, and even then, they
>> only needed for that one or two accounts you need special treatment for.

> They dont exists.

Then my next guess is that you'll have to reestablish your trust with
`passwd -R`. There's not many places where and what can be "saved" :)

>> The main security concern is, why your Administrator user:
>> 1. have password, and
>> 2. is not disabled?

> Why would i disable Administrator, it's the only local account, the server
> isn't in any domain and without password it doesn't seem secure at all.

Create a different local account, with necessary password and permissions,
then reset password on local Administrator account and disable it.

As for why, Administrator is the only local account with super-user
permissions that is guaranteed to exist. Windows uses it in case something
gone REALLY wrong, such as AD database recovery procedures.

It is easy enough to enable a locked account with offline tools, if your system
gone into such disrepair, that you can no longer even boot it, and need a
LiveCD to login to local SAM environment.
But recovering a lost Administrator password is a nontrivial endeavor, and
chances to brind system into a working state without complete reinstall are
diminishing rather quick.


-- 
With best regards,
Andrey Repin
Thursday, March 14, 2019 17:49:16

Sorry for my terrible english...


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

