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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type; q=dns; s=default; b= eyrghd0RL1OjGzFs/UFP/RP0B5VyS0d/lZ5IhQ1OSLDoBLs5Wr0UZscmiD5GDTyU Ban16yLCn0/E/c5oOY3v1r3giR4GG+DrJrSuGG+RAGBtOR8WleFomG7oK1VzcDWt 7/ePU6JcExD19vXu92xvr5+L2VuTb4TlyZPO4gFzy4g= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type; s=default; bh=YmGuv RWpbaY9A9GrLP8dLEiQf3k=; b=Qb8ijvMudDHM/YAndwSoqPfb5PSKxPUX4gNjl QHdtzcxWIj62QDxRy0J6sOXK9dnVMILrXJ2inxH2gTr7dzIqVPNgZ9XP1XZZKj8y LTVYM+JgD2s7zk4a4xZUYSK6mNjL8LeQiJrijztcehmyOIc7UX55mnUhpFlp8Sux XVEDD0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=password, device, H*MI:sk:2019031, risk X-HELO: mail-qt1-f176.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:subject:to:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to; bh=Rnj/ddd8ab/VHWs88b0W2h800Q/ybCx6uXCHlZqkVso=; b=dGeQRLOuU/mV8HN6+nkqA5pdigzOyqgY9vy2edpdERSw2PQOSuZkU1M/AWSJNjDVg7 gbhf4vr9YJcKx9BM9X6J+aK0BWekDmcrSGAQAp+6R9uonlZaZ4dKoEP2JgdcDjTxVM6Q nkor+/7YjH+Yso10tSTRwMQMbMG1idV1NfL/V/PLDM6ZGZ/hXKA5Vicvah3VNQdga6RE vgoxo0MPP6AcaBXUibJE3wShv9KC8hD4zemCdSEFx2GGNGMx4fkS2Ahu0i/bdRJdvA+q zqSaBYiyaDToEokcU8PiP1xz+ctvrtrr/ll5tcwJ8rzkVJ0BXIdx7p1Z6Vvvv/FtXkUZ 2A9g== Reply-To: davek AT 6thstreetradio DOT org Subject: Re: sshd error "seteuid: No such device or address" To: davek AT 6thstreetradio DOT org, cygwin AT cygwin DOT com References: <20190312213051 DOT GR3785 AT calimero DOT vinschen DOT de> From: David Dombrowsky <6thstreetradio AT gmail DOT com> Openpgp: preference=signencrypt Message-ID: Date: Tue, 12 Mar 2019 20:18:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190312213051.GR3785@calimero.vinschen.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VUCG5cZKkXhml0W3GM4WoWM9NvJlRbLp2" X-IsSubscribed: yes --VUCG5cZKkXhml0W3GM4WoWM9NvJlRbLp2 Content-Type: multipart/mixed; boundary="QlH1vRtFliy6wfnS5wOTh9w2vyy7tRFkX"; protected-headers="v1" From: David Dombrowsky <6thstreetradio AT gmail DOT com> Reply-To: davek AT 6thstreetradio DOT org To: davek AT 6thstreetradio DOT org, cygwin AT cygwin DOT com Message-ID: Subject: Re: sshd error "seteuid: No such device or address" References: <20190312213051 DOT GR3785 AT calimero DOT vinschen DOT de> In-Reply-To: <20190312213051 DOT GR3785 AT calimero DOT vinschen DOT de> --QlH1vRtFliy6wfnS5wOTh9w2vyy7tRFkX Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 3/12/19 5:30 PM, Corinna Vinschen wrote: >> Was that the correct solution? Is that expected? This windows box is >> on a domain, so that might have something to do with it. >=20 > Just switch the account sshd is running under from "cyg_server" to > SYSTEM (or "LocalSystem") and you should be able to logon without the > passwd -R method again. >=20 > This is a side effect of changing how Cygwin switches the user > context by default. See >=20 > https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1 If I'm reading this correctly, using the SYSTEM account will deny access to user-level shares. Using the cyg_server account (or another service account) will allow access, but requires a password stored in the registry. For me, this is acceptable risk since this is a single user machine and the administrators of the domain already know my domain password :) --=20 David Dombrowsky, Software Engineer davek AT 6thstreetradio DOT org | 518-374-3204 https://www.linkedin.com/in/david-dombrowsky-94334415 --QlH1vRtFliy6wfnS5wOTh9w2vyy7tRFkX-- --VUCG5cZKkXhml0W3GM4WoWM9NvJlRbLp2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJciExjAAoJEAHVpiWjDA5qYToH/0PNvDbcBIKvX2pwIGSK9L49 h1dsZz2KOXVXI5xcmxORIU5tKKvKEUpt2dmvhJNMqHlSUls5VNTG7QImqAbsZgGx Rqfj5SsMm7fKcc360lPi6uckc1cLPQ7+B0wfaoEacgF1AX0BdRzozADgL3RnRXyz cIZkEU9u4x8myPaULb/mGk1S4HXt4I8CfLKHQwg9ZuJfzDfZMl26+yoGNsY4h3YA Nt2D7hw8i8CZx6/pt8JF7NNnuctd8wuOk9fpWpdTd4FEDlI4mRNK5KCR5V+NDTdM QcaxorO7DGkSp+kbM8wxgzSQm9MFN+7//DmDU/Y5tEx2VkIkcs2LvF9kw8SkRRs= =nmNY -----END PGP SIGNATURE----- --VUCG5cZKkXhml0W3GM4WoWM9NvJlRbLp2--