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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=eQ4gWEzFRVZ4DEpOf1ELgOuJBBx5BAETqw8lj6eimj/RZfUkwVCaP PBsABJjAbrrpoVJeYYyr17iTLk7pKs91kVhIVehH7qdz8Reuf8HTJzrlnSS2mG54 yKzAFqzc+4NxthU0KIPicE6hoo/s4KoTFe0c9CMQbV8sgZmvPWEVrY= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=sJz3w9lD7Z8V+4ugiBY2NuvbEOA=; b=h0XiicDTNuYnKV/9U5WXXpuRYgLq ZB0tqHplgpOQvRn5TKDSjGuIPFr351xu8fy1RE4jWrFX4Vjqqx++o/9NHwQ8jOxC O3hYP1NZpsib14//V26bKR0bIAuBN42txActlihwRgZUxSiB/29gNCS7YBXTvHuC /eHjVFZur8vkuc0= 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-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 To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: Problem with ssh-host-config? Date: Fri, 11 Mar 2016 14:01:06 +0000 (UTC) Lines: 23 Message-ID: References: <869e15d0ccf54bd5ac85e8896f61592e AT R01UKEXCASM112 DOT r01 DOT fujitsu DOT 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 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