X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_34,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4A882621.90104@agora-net.com> 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> Date: Sun, 16 Aug 2009 23:49:39 +0800 Message-ID: Subject: Re: No etc/passwd (was) Re: (everything!) command not found From: Huang Bambo To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 I think you should learn some basic unix knowledge first. 2009/8/16 DY > > I figured out my old problem, but now I have no /etc/passwd. =A0How do I = create one? > I'd use vi, but I don't know what one should look like. =A0Is there an ex= ample somewhere? > > In case anyone else ever needs this, if you install cygwin, then get comm= and not found > for everything, you need to: > click on "Computer" -> Properties -> Advanced System settings (on the sid= e 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:\cyg= win\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 ha= ve 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. =A0Everything says "command not found". >>> >> >> So either set your PATH by hand or specify the full path to the executab= le >> while you are debugging the problem. >> >> cgf >> >> -- >> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html >> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ >> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html >> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple >> >> >> > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://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