This is the mail archive of the
cygwin
mailing list for the Cygwin project.
csih_use_file_etc()
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Jan 2015 12:17:23 +0100
- Subject: csih_use_file_etc()
- Authentication-results: sourceware.org; auth=none
Hi Corinna,
Suggestion ...
Replace in csih_use_file_etc() -- see file /usr/share/csih/cygwin-service-installation-helper.sh
grep -Eq "^${file}:.*\<db\>" /etc/nsswitch.conf || use_file=0
by
grep -Eq "^${file}:[^#]*\<db\>" /etc/nsswitch.conf || use_file=0
Otherwise 'comment' like below will NOT be ignored in file /etc/nsswitch.conf:
passwd: files # db
csih_use_file_etc() is invoked by csih_create_privileged_user(), which is invoked
by install_service() (in file /usr/bin/ssh-host-config).
Henri
--
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