This is the mail archive of the
mailing list for the Cygwin project.
Re: Passwordless sftp with ssh 5.9 still asks for password
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.
Andrey Repin (firstname.lastname@example.org) 30.11.2011, <18:17>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple