From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31950 invoked by alias); 11 Mar 2016 14:01:48 -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 31756 invoked by uid 89); 11 Mar 2016 14:01:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_20,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=UD:fujitsu.com, ssh-host-config, sshhostconfig, sk:csih_PR X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 11 Mar 2016 14:01:37 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aeNcw-0004TW-Qz for cygwin@cygwin.com; Fri, 11 Mar 2016 15:01:14 +0100 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2016 15:01:14 +0100 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2016 15:01:14 +0100 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: Problem with ssh-host-config? Date: Fri, 11 Mar 2016 14:01:00 -0000 Message-ID: References: <869e15d0ccf54bd5ac85e8896f61592e@R01UKEXCASM112.r01.fujitsu.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00157.txt.bz2 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. >From a quick glance I'd say this is correct. > 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? On a fresh installation you don't have /etc/passwd anymore, so the script never branches there. Regards, Achim. -- 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