public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: cygwin-xfree@cygwin.com
Subject: Problems with users home directory on cygwin64 on Windows 10
Date: Wed, 07 Feb 2018 15:08:00 -0000	[thread overview]
Message-ID: <upzczi4kkfe3.fsf@dod.no> (raw)

Platform: Intel i7, Windows 10 Pro
	  Cygwin64

I installed cygwin X yesterday (basically the xorg-server, xlaunch,
lxterminal, openssh and mosh).  SSH doesn't work in the resulting
installation because cygwin believes the home directory is /home/sb.

I have set HOME as an environment variable, that in cygwin looks like:
 HOME=/cygdrive/d/Profiles/sb

getent reports the following:
 sb@ITEM-S63383:~$ getent passwd sb
 sb:*:1294839:1049089:U-AD-ONE\sb,S-1-5-21-2260904419-1400770398-4175912926-246263:/home/sb:/bin/bash
 sb@ITEM-S63383:~$

The user "sb" is an AD user and the computer belongs to an active domain.

I have tried the following:
 1. Adding the following line to the /etc/nsswitch.conf file (also known
    as C:\cygwin64\etc\nsswitch.conf ):
     db_home:  windows
 2. Stopped all cygwin windows, but this didn't help
 3. Changed the config to
     db_home:  /%H
 4. Stopped all cygwin windows, but the home directory was still
    /home/sb
 5. Changed the /etc/nsswitch.conf file back to
     db_home:  windows
 5. Rebooted, but home directory was still /home/sb
 6. Checked for /etc/password and/or /etc/group, but no such file were
    present

Any ideas?

Thanks!


- Steinar


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


             reply	other threads:[~2018-02-07 15:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-07 15:08 Steinar Bang [this message]
2018-02-07 18:15 ` Ross Boulet
2018-02-08 17:23   ` Steinar Bang

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=upzczi4kkfe3.fsf@dod.no \
    --to=sb@dod.no \
    --cc=cygwin-xfree@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).