Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Sent: 21 Jan 2003 20:07:16 GMT Message-ID: <006801c2c188$b1b94fa0$abf9a8c0@xypoint.com> From: "Abraham Backus" To: References: <20030121195538 DOT 83705 DOT qmail AT web11603 DOT mail DOT yahoo DOT 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/ 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/