delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/02/13:48:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 2 Jan 2003 13:48:19 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: a12 <a12 AT swipnet DOT se>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin home dir=/cygwin/c (not /home/<userid>)
In-Reply-To: <3E10D04E.7535F8CD@swipnet.se>
Message-ID: <Pine.GSO.4.44.0301021341260.8991-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 31 Dec 2002, a12 wrote:

> Hello,
> I have just installed the latest Cygwin release on one PC.

The two issues you mention are unrelated.  See below.

> It is up and running OK, except that all local users login into
> /cygdrive/c instead of /home/<userid>.

Do you have the /etc/passwd and /etc/group files?  If you do, are any of
the local users in /etc/passwd?  What is their home directory set to?
Try rebuilding your /etc/passwd and /etc/group:

$ for i in (/etc/passwd /etc/group); do mv $i ${i}-backup; done
$ mkpasswd -l > /etc/passwd
$ mkgroup -l > /etc/group

and see if you still get that problem.

> The length of PATH in DOS is 97 characters, and in cygwin 148
> characters:
>
> Path=C:\WINNT\System32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Centura2.0\;C:\cygwin\bin
>
> 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
>          1         2         3         4         5         6         7         8         9         0         1         2         3         4
>
> /usr/local/bin:/usr/bin:/bin:Path=C:/WINNT/System32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Centura2.0/:/usr/bin
>
> What have I missed ?

The fact that Cygwin translates the Windows path to a POSIX path using the
mount information.  Also the fact that you have "Path=" as part of the
VALUE of the PATH variable.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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