This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Fix for ssh-user-config /etc/passwd parsing
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: All <cygwin at cygwin dot com>
- Date: Mon, 5 Jan 2015 09:12:46 +0300
- Subject: Fix for ssh-user-config /etc/passwd parsing
- Authentication-results: sourceware.org; auth=none
- Reply-to: cygwin at cygwin dot com
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@yandex.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