delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/25/11:50:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jason Curl <jcurlnews AT arcor DOT de>
Subject: Re: Changing Home Directory
Date: Mon, 25 Jul 2011 17:49:18 +0200
Lines: 20
Message-ID: <j0k39u$ebo$1@dough.gmane.org>
References: <32128822 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
In-Reply-To: <32128822.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019