From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99184 invoked by alias); 7 Feb 2018 15:08:06 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 98789 invoked by uid 89); 7 Feb 2018 15:08:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT autolearn=no version=3.3.2 spammy=believes, H*r:Unknown, H*Ad:D*no, HTo:U*cygwin-xfree X-HELO: blaine.gmane.org Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 07 Feb 2018 15:08:01 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ejRHu-0008Rw-Kh for cygwin-xfree@cygwin.com; Wed, 07 Feb 2018 16:05:30 +0100 Mail-Followup-To: cygwin-xfree@cygwin.com To: cygwin-xfree@cygwin.com From: Steinar Bang Subject: Problems with users home directory on cygwin64 on Windows 10 Date: Wed, 07 Feb 2018 15:08:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (windows-nt) Mail-Copies-To: never X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00003.txt.bz2 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/