TEST RELEASE: Cygwin 2.0.0-0.7

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 17 13:16:00 GMT 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150417/a0a0aac4/attachment.sig>


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /