Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 5 Dec 2000 15:00:39 -0800 (PST) From: Mo DeJong To: cygwin AT cygwin DOT com Subject: Re: Problem with ssh-keygen.exe. In-Reply-To: <3A297D93.E742D3DE@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 2 Dec 2000, Corinna Vinschen wrote: > Mo DeJong wrote: > > 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. > > The program is `mkpasswd' and it's in the winsup/utils subdirectory. > The home directory _is_ written to /etc/passwd if a home directory > is stored in the NT user database. Otherwise it remains empty. > > The /bin/sh effect... I don't know. Never saw that before. What > about debugging that problem? I ran "mkpasswd > /etc/passwd" and that fixed the problem, turns out it was just a typo in the user entry that was cauing it. Does anyone else think that "" is a strange default home dir to assign in the event no NT home dir has been set? I would think that "/home/$USER" would be a much better fallback, why don't we add that to mkpasswd? Mo DeJong Red Hat Inc -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com