From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100382 invoked by alias); 11 Mar 2016 15:41:05 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 100345 invoked by uid 89); 11 Mar 2016 15:41:01 -0000 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 Received: from ipbcc0d020.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Mar 2016 15:41:00 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id C183AA805E6; Fri, 11 Mar 2016 16:40:58 +0100 (CET) Date: Fri, 11 Mar 2016 15:41:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Problem with ssh-host-config? Message-ID: <20160311154058.GC31269@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <869e15d0ccf54bd5ac85e8896f61592e@R01UKEXCASM112.r01.fujitsu.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-03/txt/msg00165.txt.bz2 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1096 On Mar 11 14:01, Achim Gratz wrote: > Nick.Battle uk.fujitsu.com 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" Content-length: 819 -----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--