From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121669 invoked by alias); 23 Jul 2015 13:39:44 -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 121656 invoked by uid 89); 23 Jul 2015 13:39:43 -0000 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 Received: from nm38-vm0.bullet.mail.ne1.yahoo.com (HELO nm38-vm0.bullet.mail.ne1.yahoo.com) (98.138.229.144) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 23 Jul 2015 13:39:41 +0000 Received: from [127.0.0.1] by nm38.bullet.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 13:39:39 -0000 Received: from [98.138.100.113] by nm38.bullet.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 13:36:51 -0000 Received: from [98.138.87.2] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 13:36:50 -0000 Received: from [127.0.0.1] by omp1002.mail.ne1.yahoo.com with NNFMP; 23 Jul 2015 13:36:50 -0000 Received: by 98.138.105.248; Thu, 23 Jul 2015 13:36:50 +0000 Date: Thu, 23 Jul 2015 13:39:00 -0000 From: Shaun Martin Reply-To: Shaun Martin To: "cygwin@cygwin.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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-07/txt/msg00363.txt.bz2 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