On Apr 17 06:46, Jim Reisert AD1C wrote:
> I finally understand what happened.
> 
> In my /etc/passwd, I have configured a different home directory for
> myself.  Without that file, it goes to /home/Jim Reisert which does
> not exist!
> 
> Is there a way to change my default home directory without using
> /etc/passwd, other than creating a symbolic link inside of /home?

That's what is explained in https://cygwin.com/cygwin-ug-net/ntsec.html

The chapters you should be looking for are

  https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-home

  E.g. this setting in /etc/nsswitch.conf would do the trick if you're
  the only user (but careful with sshd!):

Or perhaps

  https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-desc

  Set "db_home: desc" and change the description field in your SAM
  according to the above document.


HTH,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpKujJ8fLeGQ.pgp
Description: PGP signature

Reply via email to