X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4AE1FA28.20105@gmail.com> Date: Fri, 23 Oct 2009 19:47:04 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: bash 3.2.49(23): when I start a bash window, $HOME is the DOS value rather than /home/lwv27 References: <558689 DOT 43687 DOT qm AT web30801 DOT mail DOT mud DOT yahoo DOT com> In-Reply-To: <558689.43687.qm@web30801.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Larry W. Virden wrote: > Okay, I tried to use mkpasswd as Mark suggested. Here's what I see now: > > $ grep lwv27 /etc/passwd > $ grep lwv2 /etc/passwd > lwv27:unused:14338:13710:Virden, Larry W.,U-CAS\lwv27,S-1-5-21-15812936-299453970-766854361-4338:/home/lwv27:/bin/bash I'm hoping the first one of those was from before the mkpasswd and the second one after, because otherwise something is very wrong if it can find "lwv2" but not "lwv27" ... > $ ls /home/lwv27 > ls: cannot access /home/lwv27: No such file or directory > $ ls /home > Olentangy rzt27 The home dir won't just appear when you update mkpasswd; you have to start a new shell, when the /etc/profile startup script notices your home dir setting doesn't exist it'll kick of the creation process for you. For the full explanation, see: http://cygwin.com/1.7/faq/faq.setup.html#faq.setup.home cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple