From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118262 invoked by alias); 22 Jul 2015 19:28:32 -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 118251 invoked by uid 89); 22 Jul 2015 19:28:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nm37-vm8.bullet.mail.ne1.yahoo.com Received: from nm37-vm8.bullet.mail.ne1.yahoo.com (HELO nm37-vm8.bullet.mail.ne1.yahoo.com) (98.138.229.136) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 22 Jul 2015 19:28:30 +0000 Received: from [127.0.0.1] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 22 Jul 2015 19:28:28 -0000 Received: from [98.138.101.129] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 22 Jul 2015 19:25:34 -0000 Received: from [98.138.89.167] by tm17.bullet.mail.ne1.yahoo.com with NNFMP; 22 Jul 2015 19:25:34 -0000 Received: from [127.0.0.1] by omp1023.mail.ne1.yahoo.com with NNFMP; 22 Jul 2015 19:25:34 -0000 Received: by 98.138.101.171; Wed, 22 Jul 2015 19:25:34 +0000 Date: Wed, 22 Jul 2015 19:28:00 -0000 From: Shaun Martin Reply-To: Shaun Martin To: "cygwin@cygwin.com" Message-ID: <1568721912.554752.1437593133260.JavaMail.yahoo@mail.yahoo.com> Subject: Re: db_home setting in nsswitch.conf is ignored. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-07/txt/msg00349.txt.bz2 > 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. With the "SET" command in a Windows command prompt I can see: HOME=SERVER/USERS5:USERS\SHAUN 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? I'm starting mintty with the shortcut generated by the installer: C:\Users\shaun\Apps\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico - -- 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