This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]