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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=Klxc+glZ/xSKk04Q cwKzFO9b2F4HWFZcfChRxVWxkx1aoFQKz5qm7rNztJWJULuoptaMb8gFVky75Wox WUlupLFuRpKj1XhUT5FOg+nGyHghfAoLgFzRF4fSzYxWg3eqCwMArUwdBpWSOULa pOMW3D5GZA9i2Qx1Z3Ct9kq+kSg= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=Ml9uuR9l5rzKrPJUKX2/fT nsxE0=; b=cEni9x9PUIR3p1p3UvVLh7CtHC7puHt/k6jEQs8ThqdofSRBOUqPr/ sT/L3wa+BQaJulmuqlm6lvtJ1nuu72MHJmvoB+1muaqmqpM+UJyLF3u0P2FjH8dt e/4Q2WyNhsDyefDNm6HeJQk29V+9n/uwuOznr4CaAj7PftZM81vZs= 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.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Wed, 18 Feb 2015 16:35:49 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1709402921.20150218163549@yandex.ru> To: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: ssh-host-config script sends /etc/passwd thru awk In-Reply-To: <20150218130219.GP8493@calimero.vinschen.de> References: <4C148215-468D-469D-8060-B2010DF5E9A9 AT etr-usa DOT com> <20150217230230 DOT GH8493 AT calimero DOT vinschen DOT de> <62DA4A6B-8BA1-4676-B88F-42F6A3707AAD AT etr-usa DOT com> <20150218100809 DOT GK8493 AT calimero DOT vinschen DOT de> <94520364 DOT 20150218150551 AT yandex DOT ru> <20150218130219 DOT GP8493 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t1IDog95012423 Greetings, Corinna Vinschen! >> >> >> It seems that the ssh-host-config script isn’t using Corinna’s new >> >> >> getent package yet. >> >> >> >> > Both scripts are using geten or mkpasswd/mkgroup. >> >> >> >> I was sure I looked into my local copies before answering that >> >> question. Maybe I had old versions? >> >> >> >> An /etc/passwd containing only an sshd user certainly does seem like a >> >> fresh install of 1.7.34, with the entry coming from ssh-*-config, >> >> though, rather than an upgrade from pre-.34. >> >> > It's a bit confusing to talk about the Cygwin version when this is >> > only about openssh and the csih package. I'm really busy with other >> > stuff right now. I quickly scanned the ssh-*-config scripts again >> > and they never write a passwd entry so, if anything, it's a problem >> > in the csih helper script. Does anybody want to inspect >> > /usr/share/csih/cygwin-service-installation-helper.sh for this? >> >> I'm on it, and the only place, where awk is ever called so far in relation to >> these files is csih_use_file_etc >> >> So far it seems the user need to upgrade or reinstall his openssh package. >> I'm off to try and set openssh on my newest VM, that have Cygwin first >> installed after 1.7.34 release. >> I'll be back. > Looking forward to it. You were right, the offender is the ssh-user-config, the check_user_homedir() function. The openssh is the 64-bit version, as in the stackexchange user's case. The issue is interesting, though. When I first installed the openssh, it offered me "prev" version of the package, even though I was installing from the net. Re-running the installer picked the "current" version. Setup.exe glitch? -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 18.02.2015, <16:17> Sorry for my terrible english...