delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sat, 5 May 2012 10:55:56 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: OpenSSH using root for the .ssh directory? |
Message-ID: | <20120505085556.GB2428@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAGHJv4fbZ-vMdB=nsA7m3VriXm165ZsQXN3XVZ-Zh9c2HsvZ0A AT mail DOT gmail DOT com> <4FA4B94F DOT 4090307 AT samsung DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4FA4B94F.4090307@samsung.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
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 |
On May 5 09:23, Fedin Pavel wrote: > On 05.05.2012 7:06, Chris Sutcliffe wrote: > >I'm at a loss as to why it's looking in the root directory. > > Look at your /etc/passwd. Here, on my machine,home directory is > empty for my username. Perhaps mkpasswd's bug. You can fix it by > manually setting the right path in /etc/passwd. Indeed, that's a bug in mkpasswd I introduced in December. I don't know what I was thinking when I made the change, but it results in the following misbehaviour: If you run mkpasswd with the -c option to generate an entry for the current user, and if $HOME is set at the time, then mkpasswd misses to print the value of $HOME, and the generated passwd entry keeps empty. I fixed that in CVS for now, but I'm wondering if that doesn't qualify for a new Cygwin release... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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 |