delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/23/09:39:58

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=gbASsisB7bNbQvDhKaajGrfCUtYfq0pq2lGGM+dsqlgy9QMjOlpnJ
TGlF1Vmh2nb3tJ1KtCMtAr9B+glTxeNaXJx+w5LqRhHuGEXnwW9MlhnIlz2W3AmQ
QsHO3mJXco+dOvwhP2HYtMlJQ0mUKKHybF1g6f5lN0ZO804xV3O4tM=
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=NBPLVnRx1SmYhEx/OwvR30cjrOk=; b=pZZYzMNWHS3rwO1KTJSuU2mdaJVj
eWUfk9cQieuvaa9jqcWXYsFw7e9UF3py5Cne4c0HAPIDDOwuah2sovmCM5R63X6r
IYDCrgYkiICwjZSUIMjaRDO7643Zvja2bEPUzKliKwrQY0emQiVUw/5mmmnEQAfK
mUxRwZH+ydeMVEs=
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=0.5 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: nm38-vm0.bullet.mail.ne1.yahoo.com
Date: Thu, 23 Jul 2015 13:35:45 +0000 (UTC)
From: Shaun Martin <squarefighter AT yahoo DOT com>
Reply-To: Shaun Martin <squarefighter AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <593814963.1020714.1437658545464.JavaMail.yahoo@mail.yahoo.com>
Subject: Re: db_home setting in nsswitch.conf is ignored.
MIME-Version: 1.0

Thank you both for trying to help me out. I'm primarily a web 
developer and lack much of the system admin knowledge that would 
definitely help in this situation. 

> > 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. 

Not only does it look strange, but I can't tell where it's being set. 
Under System > Advanced > Environment Variables, there is no 
HOME variable set. When I put one in, it's ignored. If I type 
"set home" from the command prompt I get: 

HOME=SERVER/USERS5:USERS\SHAUN 
HOMEDRIVE=C: 
HOMEPATH=\Users\shaun 

I guess that would suggest the admins are using it to build up 
the full path dynamically for some reason. I'll need to talk to 
them about making any modifications. 

> On a second look into your OP, I'm also a bit puzzled about the 
> settings you made in /etc/nsswitch.conf. 

From the documentation, it looked like "db_home: /home/%U" should 
solve my problems. When that didn't have any affect, I was 
just grasping at straws. I didn't try those all at once,
I just wanted to show the options I had tried.

Cygwin works perfectly in my home environment and on a virtual 
machine I have at work using a standard Windows installation. My 
work environment has caused problems with other programs in the past, 
but it seemed like this HOME variable situation could be 
bypassed by the "/etc/nsswitch.conf" file. I'll talk with the admins 
about Cygwin and see if they want to help me get this issue 
worked out. Thanks again for your efforts.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019