delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/17/17:18:37

X-Spam-Check-By: sourceware.org
Message-Id: <1137536305.19426.252087402@webmail.messagingengine.com>
From: "Brett Serkez" <techie AT serkez DOT net>
To: "Scott Purcell" <spurcell AT vertisinc DOT com>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <34385CBC5E8E664EB0007814636AB36A0316D94C AT exchange1 DOT dimensions DOT 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 AT cygwin DOT com; run by ezmlm
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

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

- Raw text -


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