From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50935 invoked by alias); 22 Jul 2015 22:05:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 50924 invoked by uid 89); 22 Jul 2015 22:05:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 22 Jul 2015 22:05:09 +0000 Received: from [95.165.144.62] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1ZI28O-0005oW-4I ; Thu, 23 Jul 2015 01:05:04 +0300 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 22 Jul 2015 21:53:20 -0000 Date: Wed, 22 Jul 2015 22:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <143607434.20150723005320@yandex.ru> To: Shaun Martin , cygwin@cygwin.com Subject: Re: db_home setting in nsswitch.conf is ignored. In-Reply-To: <1568721912.554752.1437593133260.JavaMail.yahoo@mail.yahoo.com> References: <1568721912.554752.1437593133260.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00353.txt.bz2 Greetings, Shaun Martin! >> Is HOME set in the Windows environment already? If so, this >> might interact with the setting in /etc/nsswitch.conf, which *only* >> works for entries taken from the passwd DB (getpwnam, getpwuid calls). >> >> How do you start mintty? It should be started with a single parameter, >> a dash, e.g.: >> >> C:\cygwin64\bin\mintty.exe - > Yes, HOME is set in the Windows environment and I am not able to change it. How so?... > With the "SET" command in a Windows command prompt I can see: > HOME=SERVER/USERS5:USERS\SHAUN That's suspicious. So many symbols not allowed to be there. > When you say it only works for entries taken from passwd DB, does that > mean I need to create a "/etc/passwd" file in order to change the > "db_home" directory with nsswitch.conf? No, she said that it only works if Cygwin has to retrieve these records from DB. If the information is already available, it will be used as is. > I'm starting mintty with the shortcut generated by the installer: > C:\Users\shaun\Apps\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico - System properties - Advanced - Environment. Remove the HOME variable. It shouldn't be there for Windows to begin with. If that wouldn't work, talk to your domain admin, explain the situation and ask to resolve the conflict. If Cygwin is a necessary part of your workflow, there's a Cygwin-specific schema available which can be installed in domain to help facilitate provision of the necessary Cygwin-specific information. -- With best regards, Andrey Repin Thursday, July 23, 2015 00:49:18 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