delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/16/11:45:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_34,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A882963.8010404@agora-net.com>
Date: Sun, 16 Aug 2009 11:44:35 -0400
From: DY <yarringt AT agora-net DOT com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: No etc/passwd (was) Re: (everything!) command not found
References: <4A7EE547 DOT 1070309 AT agora-net DOT com> <4A7F9E88 DOT 2060800 AT cygwin DOT com> <4A859905 DOT 9060206 AT agora-net DOT com> <20090814173519 DOT GB10200 AT ednor DOT casa DOT cgf DOT cx> <4A882621 DOT 90104 AT agora-net DOT com>
In-Reply-To: <4A882621.90104@agora-net.com>
X-SA-Exim-Connect-IP: 76.99.185.129
X-SA-Exim-Mail-From: yarringt AT agora-net DOT com
X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false
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

Or maybe the problem is the profile.  Here's the deal.  My prompt 
defaults to c:/cygwin and I want
it to default to my home directory (with the path as the prompt).  I 
thought I needed to change
/etc/passwd, but that doesn't exist.  After a bit of searching, I found 
the profile in /etc/defaults/etc,
but I don't know how to edit it properly to make the above happen.

I know these are basic questions, but it took me over a week to figure 
out the last solution - I just
want cygwin to work properly.  On XP, I just picked the modules I 
wanted, installed cygwin, and
everything worked perfectly.  Installing on Vista has been a nightmare, 
with very little by way of
resources to provide help.
-Debra

DY wrote:
> I figured out my old problem, but now I have no /etc/passwd.  How do I 
> create one?
> I'd use vi, but I don't know what one should look like.  Is there an 
> example somewhere?
>
> In case anyone else ever needs this, if you install cygwin, then get 
> command not found
> for everything, you need to:
> click on "Computer" -> Properties -> Advanced System settings (on the 
> side bar)-> Environment Variables.
> Under user variables, add a new environment variable, called 
> CYGWIN_HOME and set its value to C:\cygwin
> Under system variables, edit the PATH environment variable and add 
> C:\cygwin\bin.
> Click okay, and restart cygwin. (Thanks to Sudipta Chatterjee)
> (In case anyone else searches the archives for a solution to this 
> problem).
> -Debra
>
>
> Christopher Faylor wrote:
>> On Fri, Aug 14, 2009 at 01:04:05PM -0400, DY wrote:
>>  
>>> All except gcc-mingw-core-3.4.4-20050522-1.tgz and 
>>> gcc-mingw-g++-3.4.4-20050522-1.tgz
>>> say done. I'm assuming they were unzipped and run, though, because I 
>>> have agcc-mingw-core.sh.done
>>> and a gcc.mingw-g++.sh.done so I'm assuming that's the run,done 
>>> version of the zipped files.
>>> Besides, I can't do ANYTHING.  Everything says "command not found".
>>>     
>>
>> So either set your PATH by hand or specify the full path to the 
>> executable
>> while you are debugging the problem.
>>
>> cgf
>>
>> -- 
>> 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
>>
>>
>>   
>
> -- 
> 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
>
>

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