This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with ssh-keygen.exe.


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]