From: Shaun Martin <squarefighter@yahoo.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: db_home setting in nsswitch.conf is ignored.
Date: Thu, 23 Jul 2015 13:39:00 -0000 [thread overview]
Message-ID: <593814963.1020714.1437658545464.JavaMail.yahoo@mail.yahoo.com> (raw)
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
next reply other threads:[~2015-07-23 13:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 13:39 Shaun Martin [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-22 19:28 Shaun Martin
2015-07-22 22:05 ` Andrey Repin
2015-07-23 8:57 ` Corinna Vinschen
2015-07-24 12:19 ` Buchbinder, Barry (NIH/NIAID) [E]
2015-07-24 16:05 ` Andrey Repin
2015-07-22 15:36 Shaun Martin
2015-07-22 16:57 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=593814963.1020714.1437658545464.JavaMail.yahoo@mail.yahoo.com \
--to=squarefighter@yahoo.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).