delorie.com/archives/browse.cgi | search |
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:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=vM2WhTTzOerUG8Wr | |
WLjrYOZlLQqhZOwzhxsw5FYZ0kbepbhaQK1B/+JcAByEuciX7IAus4qZE/NsneUP | |
A+1E9QFhUOfnOmzM4MiBNCsHVoEtZvPqnSzQmeE8bmkT8dTOhvdUxLn+pX+D1Hyt | |
ftoSRitDKvrOFV4TpnP0Zsifxg8= | |
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:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=0SfN5WNRwWG3pfsNAfPYVD | |
GRe8s=; b=qFO6d9BZDYtFG+p1rB7p2+REg7fnukTMSqlw5KdLInZobSC9HFqoe8 | |
a0SItxnuohvhDC1q4EHDzSdyWNdLM41DxuTShC3wrExT6ywBenOuEg34XffspqX4 | |
2Rn2dBAQjQGqRcUpL78kNttWAsEkfPiFXVSeBdwKICaSPn9hRRtrg= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=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 |
Date: | Thu, 23 Jul 2015 00:53:20 +0300 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <143607434.20150723005320@yandex.ru> |
To: | Shaun Martin <squarefighter AT yahoo DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: db_home setting in nsswitch.conf is ignored. |
In-Reply-To: | <1568721912.554752.1437593133260.JavaMail.yahoo@mail.yahoo.com> |
References: | <1568721912 DOT 554752 DOT 1437593133260 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |