Fix for ssh-user-config /etc/passwd parsing

Andrey Repin anrdaemon@yandex.ru
Mon Jan 5 06:35:00 GMT 2015


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



More information about the Cygwin mailing list