home dir in cygwin

Andrew W. Gaunt quantum at lucent.com
Thu Feb 6 14:25:49 EST 2003


On my Windows 2K Domain controller 'users&computers' settings  I set my
windows account 'home' drive to be a samba share (it lives on a linux box)
and cygwin seems to use it. I think it is because I generated the cygwin
/etc/passwd with 'mkpasswd -d 'my_w2k_domain'.  The sharename is
where the 'home' directory would go.

If your win box is not part of a w2k domain, you can probably generate
the cygwin /etc/passwd file with 'mkpasswd -l'  and then hack it from
there.

-- 
____    __
 | 0|___||.  Andrew Gaunt *nix Sys. Admin., etc.
_| _| : : }  quantum at lucent.com - http://www-cde.mv.lucent.com/~quantum
 -(O)-==-o\  andrew at gaunt.org - http://www.gaunt.org



Bruce Dawson wrote:

>>How does one go about specifying an alternate home directory in Cygwin? 
>>   Right now, ~ == / and I'd rather it be /cygdrive/d/User\ Profiles/eprice
>>    
>>
>
>export HOME="/cygdrive/d/User Profiles/eprice"
>
>The above establishes your home directory - there really is no "alternate home"
>directory in Unix (that I'm aware of).
>
>-------------------------------------------------
>This mail sent through IMP: www.milessmithfarm.net
>_______________________________________________
>gnhlug-discuss mailing list
>gnhlug-discuss at mail.gnhlug.org
>http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
>  
>






More information about the gnhlug-discuss mailing list