public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Shaun Martin <squarefighter@yahoo.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: db_home setting in nsswitch.conf is ignored.
Date: Wed, 22 Jul 2015 19:28:00 -0000	[thread overview]
Message-ID: <1568721912.554752.1437593133260.JavaMail.yahoo@mail.yahoo.com> (raw)

> 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

             reply	other threads:[~2015-07-22 19:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 19:28 Shaun Martin [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2015-07-23 13:39 Shaun Martin
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=1568721912.554752.1437593133260.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).