X-Spam-Check-By: sourceware.org
Message-Id: <1137536305.19426.252087402@webmail.messagingengine.com>
From: "Brett Serkez" <techie@serkez.net>
To: "Scott Purcell" <spurcell@vertisinc.com>, cygwin@cygwin.com
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="ISO-8859-1"
MIME-Version: 1.0
References: <34385CBC5E8E664EB0007814636AB36A0316D94C@exchange1.dimensions.com>
Subject: Re: Install goes to network drive
In-Reply-To: <34385CBC5E8E664EB0007814636AB36A0316D94C@exchange1.dimensions.com>
Date: Tue, 17 Jan 2006 17:18:25 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> I am installing "cygwin" on a XP box. I have downloaded the setup and
> files to my local c:/tmp/files
>
> When I run the setup, all appears good. I point to c:/cygwin and tell
> it to find files from c:/tmp/files. The install completes fine but
> when I type a cd ~ (show my home directory) the terminal shows my home
> here: /cygdrive/h  which is a mounted server. I have done this three
> times, and each time it does this. I checked all environment
> variables. I just want my home to be /cygdrive/c so I can add a
> .bashrc and get rolling.

Your home directory is determined by the contents of /etc/passwd, just
as it would be on a UNIX/Linux system.  mkpasswd is run during
installation to generate /etc/passwd.

You can run the command 'mkpasswd -l' to see what was generated if you
are not in a domain, and 'mkpasswd -d' to see what was generated if you
are in a domain.

Use 'id' to see your user name and then look at /etc/passwd to see what
the setting is for your account, the easiest way to do this is with
'grep
user /etc/passwd'.  Your home directory is the second to last field.

You can edit /etc/passwd and change your home directory in this file, it
would usually be /home/user, but you can set it to anything you want.

Brett
----------------------------------------------------------------
Brett C. Serkez, Techie


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

