delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/11/10:41:24

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=uH2Cr8oY0CD1WMyZNPAOGJfZ5AKd+9UHLpnfE1uwnhT3mmxDRYAwi
nwe2JEql3ArWHiYsdrrR36o/o1AjIjlQnxx4XbfBBo1+QuK21zIhWpTZ3LXVJNFW
itqVMa4Q2zq3WrqXVpKDtdHJiamvTF/+RQLKA+KWoQLq+XlOWZxRso=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=2yT+Bcj/DWfvXs/2uKr5CU8Ckz0=; b=AZzaWe1JmSSTjwNbw7DDUvv9hNE0
WqyXvOSyc09QXy28rr1sCBLx3qHh5yUjlF9B9ACaL/f8IpVaKPwsCJKs2RyJtirP
ICfePRuZVfr2iRIHd0mluTs6rleJpTR9QzbAqtqRUNyrPtFUuo1CB+vFLVJ3tSDu
lbl7jng2SiOjTik=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-93.9 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=DOT, UD:fujitsu.com, sk:csih_PR, sk:csih_pr
X-HELO: calimero.vinschen.de
Date: Fri, 11 Mar 2016 16:40:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with ssh-host-config?
Message-ID: <20160311154058.GC31269@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <869e15d0ccf54bd5ac85e8896f61592e AT R01UKEXCASM112 DOT r01 DOT fujitsu DOT local> <loom DOT 20160311T145910-774 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20160311T145910-774@post.gmane.org>
User-Agent: Mutt/1.5.24 (2015-08-30)

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 11 14:01, Achim Gratz wrote:
> Nick.Battle <at> uk.fujitsu.com <Nick.Battle <at> uk.fujitsu.com> writes:
> > Changing ${username} to ${csih_PRIVILEGED_USERNAME} seems to fix the
> problem and everything works as expected.
>=20
> >From a quick glance I'd say this is correct.

ACK.

> > So I have the result I want, but I'm not sure that the fix above is
> correct. Isn't it normal to use
> > ssh-host-config to create the user in Windows and /etc/passwd? In which
> case why isn't everyone getting
> > this problem? Or am I using the script the wrong way?
>=20
> On a fresh installation you don't have /etc/passwd anymore, so the script
> never branches there.

In theory this should only happen if you *only* use passwd in
/etc/nsswitch.conf.  If you use default settings (passwd db), this
branch should not be hit either.

So I wonder how your /etc/nsswitch.conf looks like.  Are you using=20

  passwd: passwd
  group: passwd

?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW4ucKAAoJEPU2Bp2uRE+giHQQAIZd6Hoyr7if3Uu26wkXANVO
rXLwtVr42fXFZlCOId7dDrvEz2IT77QbXWWJQrKbFmpEgW5TXLZnkJw7FaMIj/gy
RG5RimUMG5AZmRN9gt5rHI13PI0vg5rjZwx/2N5mH4hvmRwXR/oFszwDYTFNJAix
FGoX0t2ESsC+KvSarhcEdHgap8nHo1xVz+jX4IXKTbsEBE8QCw50+3+VFcEAXTW/
tITEVvHIFJ3pvCUPA1U4pdmQ4zyDsw9DoHfrUjHVXfyp6lRsIOoldP1YBdjKXLeq
lKlvrkOAC8xXCe52QZtChZe8aj5ENdEmiaJ+otOqEq5XsqoAR0NfXlMJXtOQs6JV
RDbVEYdPVAazD+CSbuSviPeTuRY+i3OJzvv4J1yPDXWkNElsph28KXesuySEysSq
C0KE9dz/b8xO0fvF8pVMIzTUiUpzl3JO6xrUZ2GEFTJNcj5XquonIkOrJ8KIj0eU
5Ze/cUwf76Y0ueLI1egJRcV/FPPr2pjSlDyQ27EZYQynMNEOlu7ei+iPfHORns1c
+FTVcYdm/2/6nJkNZ/xlRTfH5armxNa7M8awxCIaCfoSwsDMWz33AbcJshbvVX6F
VXfUc0ZNXH9w64vZd+jBrPJ7U6GVBjOsv77gHyqbL+qSKWg/t6MqlAGD3SsVg20b
DQwVGkFsoD45caiI8LcQ
=M8Si
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--

- Raw text -


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