X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=JCIiocM96Z4S2jkoCxag/MZqigZyoTYIE0+k7AYDbjPRTKMIEjzLp kj0hVaSFWGjgx1btwU6OozR6AhW4Ug7BvNaltX6ZRm2jqSnIxBnZjQ6rOWa6kpBC ZUjHUBTXTTN7S8s9yekSJ0DjB0iHjpkGc9xUat/RbIzIxLslX0Jd5c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:to:message-id:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=08oqmpQM5AtXESvIj088uD94IoY=; b=Dfgas/rl5VP+IqMjVh1fRPAcAtls 48pSjs3/N0RJkrW2YSgNLlYb3u9BGMNQjIh8uBuxaxK0Q5KIbdhwxdpPwJy9prS4 CwOV2VhWLOiAs/mRdUjED5Bhqv73uKELKQGE0n48a0FpzYSVDd3Epmz6qe8DEGSd nl0fOw1Hr43LncQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Wed, 22 Jul 2015 19:25:33 +0000 (UTC) From: Shaun Martin Reply-To: Shaun Martin To: "cygwin AT cygwin DOT 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 > 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