delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:message-id:from:reply-to:to:subject | |
:references:in-reply-to:content-type; q=dns; s=default; b=GI2I00 | |
UvnHV54M1T0OUC/yPuhBEskVXq7tRPiO0ewnf3qxCjF1YFUF3b+bO28+eN4B0tCh | |
Hrup8mIgHvl+ZlE/W6rRzpsuhkHIa9+nkRE0dgoRSN+Al2LTHbOva8vgBrp/A9AI | |
R2Zbx/bAzmRlo7Ubd3sny5PEjcRBjfnrh2SFU= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:message-id:from:reply-to:to:subject | |
:references:in-reply-to:content-type; s=default; bh=StrY8CdOIR0a | |
qVEndq+dtdpfrb0=; b=qxZOMx+8MgrvlY8o7ZFfIlWzbQ1h1ZtCazloXdf8QqyT | |
vEmCEyBdljXeXL/s280gqxMj1CgAj/1GeJK05mEVyXHe/NDNcZTOB7LgPShPFtVN | |
mBQn/IEFk1YIblTQzbPBbd4744yfMJeOXiejS/6KKn4ULaNYImJ+1j/IHoz+gMw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=ntsechtml, cygwin-ug-net, cygwinugnet, UD:ntsec.html |
X-HELO: | lb1-smtp-cloud8.xs4all.net |
Date: | Wed, 20 Feb 2019 09:08:42 +0100 |
Message-ID: | <c38044ce0798c6c4e4f448c996d28116@smtp-cloud8.xs4all.net> |
From: | Houder <houder AT xs4all DOT nl> |
Reply-To: | cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ssh confused about home directory? |
References: | <BYAPR05MB573676B0D2BDCB42E8514BC4877C0 AT BYAPR05MB5736 DOT namprd05 DOT prod DOT outlook DOT com> <BYAPR05MB57363758E750164C12212C0F877C0 AT BYAPR05MB5736 DOT namprd05 DOT prod DOT outlook DOT com> |
In-Reply-to: | <BYAPR05MB57363758E750164C12212C0F877C0@BYAPR05MB5736.namprd05.prod.outlook.com> |
User-Agent: | mua.awk 0.99 |
On Tue, 19 Feb 2019 19:24:38, Boylan, Ross" wrote: > [Answering my own question after better searching] > Same question asked and answered in the thread starting https://cygwin.com/= > ml/cygwin/2016-06/msg00400.html. > The answer is to set db_home in nsswitch.conf. > > Comment: the current behavior strikes me as unfortunate and surprising. Surprisng? .. and you have read? https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-passwdinfo where it reads: So, what settings can we perform with /etc/nsswitch.conf? Let's start with an example /etc/nsswitch.conf file set up to all default values: # /etc/nsswitch.conf passwd: files db group: files db db_enum: cache builtin db_home: /home/%U <========= db_shell: /bin/bash db_gecos: <empty> Perhaps you can infer this default from: https://cygwin.com/ where it reads: Cygwin - Get this __Linux__ feeling ... Henri -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |