delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 30 Nov 2011 18:18:46 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <816315728.20111130181846@mtu-net.ru> |
To: | Corinna Vinschen <cygwin AT cygwin DOT com> |
Subject: | Re: Passwordless sftp with ssh 5.9 still asks for password |
In-Reply-To: | <20111130091854.GA11195@calimero.vinschen.de> |
References: | <9E9DD545D034B84B935BB50A739B078B0551DD6893 AT sha-exch12 DOT shared DOT ifeltd DOT com> <4ED56819 DOT 6050707 AT etr-usa DOT com> <923130286 DOT 20111130123814 AT mtu-net DOT ru> <20111130091854 DOT GA11195 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Greetings, Corinna Vinschen! >> Last time I checked, $HOME in newly installed Cygwin point to the $USERPROFILE >> Which is, quite, logical. > Just to be clear, that's not done by the Cygwin DLL. When setting HOME, > the order is very simple: > - If $HOME is already set in the environment, leave it alone. > - Otherwise, grab home dir from /etc/passwd. > - If /etc/passwd doesn't exist or if the homedir field is empty, > set HOME to /home/$USER. > If $HOME points to $USERPROFILE, it's because that value is set in > /etc/passwd. mkpasswd, for instance, reads the homedir path from the > local SAM or AD and uses it, unless the -p option is used. That explains it, thanks. > Otherwise, if -p isn't used and the SAM/AD homedir is empty, the fallback is > /home/$USER again. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 30.11.2011, <18:17> Sorry for my terrible english... -- 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 |