This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: csih_use_file_etc()
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Jan 2015 15:35:24 +0100
- Subject: Re: csih_use_file_etc()
- Authentication-results: sourceware.org; auth=none
- References: <c2ef963ea7e1a2de1f6d3290b51abda5 dot squirrel at webmail dot xs4all dot nl> <20150108125723 dot GG4190 at calimero dot vinschen dot de>
> On Jan 8 12:17, Houder wrote:
>> 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
>
> Thanks, will do. What's your surname for the ChangeLog entry?
Make it easy for yourself, please. Put your name in the ChangeLog.
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