delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/31/06:31:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 31 Mar 2010 12:31:37 +0100
Message-ID: <n2n1e1600301003310431xf9bc9628s7d8b32bb8007990e@mail.gmail.com>
Subject: Changing the home directory ($HOME)
From: Phil Couling <couling AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi

I have cygwin pre installed on a pc I'm using.  I'd like to change the
home directory ($HOME) but I'm having some trouble finding where it's
been set.  Currently it points to a drive letter q: . I'd much prefer
to point it at /home/username.

When looking into previous messages i note that /etc/passwd is
mentioned a lot.  I've taken a look in this file and there isnt a
reference to my user ($user) in there.  I havn't managed to find info
on how to write new entries in this file.

Any suggestions on how else it may have been set or how to change it?

Thanks for your time

Phil

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