This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: bash 3.2.49(23): when I start a bash window, $HOME is the DOS value rather than /home/lwv27


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


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