Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Sent: 21 Jan 2003 20:07:16 GMT
Message-ID: <006801c2c188$b1b94fa0$abf9a8c0@xypoint.com>
From: "Abraham Backus" <abraham@backus.com>
To: <cygwin@cygwin.com>
References: <20030121195538.83705.qmail@web11603.mail.yahoo.com>
Subject: Re: Home dir is "/"
Date: Tue, 21 Jan 2003 12:07:14 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

I've seen this as well, particularly on Win2K systems at work where you use
domain credentials to log into your machine.

Here's what I did to fix it (at the cygwin bash prompt):
$ mkpasswd -d -u myusername >> /etc/passwd

The mkpasswd command creates entries intended for /etc/passwd.  The "-d"
means to get information from a domain (the default domain).  The "-u" means
to use the information for "myusername" in the given domain.

I hope this makes sense and helps.

-Abe

----- Original Message -----
> I've installed cygwin 1.3.18-1 on an XP system and
> found it set my home dir as "/" instead of
> /home/<NT_USERNAME> like it normally does. Within
> cygwin, I see that /home isn't even there. Even after
> making my homedir, it still still puts me at root when
> I launch a shell. I noted that I am not in /etc/passwd
> as well. Should I be? If this is common problem, could
> someone clue me in please?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

