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 :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=l27uOxmITZ0lpNaMaDYxzT0BMmjYT0ZkUFyfMphKdvHObA4yDZZec +sYu3PCm+DLFweNW5sXXh56DH4UMAKbFa+nvk8Roe4NdEMnUwI1Cdrj2Wyv6hYZb jM8YaAMlePvp5ZLfirvBrwdKFi71jyGuCv7DpqxKDzxlQtAwbd4MUw= 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 :mime-version:content-type:content-transfer-encoding; s=default; bh=ka2l095K07/8Qj+zzcvyPvYxDGg=; b=J0eNXuLb8XZC73OTTb2eYwaNl88U g4RRelMLcNdt+1s5Pv4Oi8Rzi39R2lk1zw/sojvEg4DkN2HndBga0cJ/ZsvyJFVf ENQ5NWsh9hnWt22Hxn6LU4lLNDrlv1GGVT4/rsSGqrzqC8hBIN2pEjbS00zalCtK y72y2oM0INii4gk= 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=2.0 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Mon, 5 Jan 2015 09:12:46 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1063405400.20150105091246@yandex.ru> To: All Subject: Fix for ssh-user-config /etc/passwd parsing MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, All! Replace line 79 with pwdhome=$(getent passwd ${uid} | cut -sd : -f 6 ) The error messages in the next few lines should probably be updated as well. Something along the lines of 83: "Unable to determine user's home directory from system settings." \ 90: "${pwdhome} is found to be set as your home directory" \ 99: csih_warning "Your home directory is found to be set to root (/). This is not recommended!" -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 05.01.2015, <09:04> Sorry for my terrible english... -- 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