Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: a12 cc: cygwin AT cygwin DOT com Subject: Re: Cygwin home dir=/cygwin/c (not /home/) In-Reply-To: <3E10D04E.7535F8CD@swipnet.se> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/. 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/