Changing Home Directory

Jason Curl jcurlnews@arcor.de
Mon Jul 25 15:49:00 GMT 2011


On 25/7/2011 05:00, ScKaSx wrote:
>
> Hi All,
>
> I just installed Cygwin and found that my home directory is defined by
> Windows HOME environment variable.
>
> My question is how I can change my cygwin home directory without changing
> the Windows HOME variable, in other words to use /etc/mkpasswd?
>
> Cheers!

I had this problem regularly when working with Active Directory domains. 
I wanted everything kept in c:\cygwin\home for portability.

To do this, I just modified the file "/etc/passwd" to provide a new 
cygwin path.

Regards,
Jason.


--
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



More information about the Cygwin mailing list