delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/02/17:41:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 2 Dec 2000 14:41:32 -0800 (PST)
From: Mo DeJong <mdejong AT cygnus DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with ssh-keygen.exe.
In-Reply-To: <3A28C3DC.C23514FD@redhat.com>
Message-ID: <Pine.SOL.3.91.1001202143908.27203B-100000@cse.cygnus.com>
MIME-Version: 1.0

On Sat, 2 Dec 2000, Corinna Vinschen wrote:

> Mo DeJong wrote:
> > application. I am running as user mdejong
> > with a home dir of /home/mdejong, but ssh-keygen
> > thinks differently.
> > 
> > $ ssh-keygen.exe
> > Generating RSA keys:  Key generation complete.
> > Enter file in which to save the key (/bin/sh/.ssh/identity):
> > 
> > from bash:
> > 
> > $ echo $HOME
> > /home/mdejong
> 
> Just for clarification: $HOME is in no way of interest for OpenSSH.
> OpenSSH applications always use the getpw... calls to get the user
> related information. So, as Chris Abbey already mentioned, check
> your /etc/passwd which is for sure your problem.
> 
> Corinna

Ok, but I still do not understand why the /etc/passwd file would
be created without a home directory, and why does it find
/bin/sh as the home dir instead of ""?

What program is run to generate this /etc/passwd file?
It seems like this problem needs to be fixed there.

thanks
Mo DeJong
Red Hat Inc

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019