This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No etc/passwd (was) Re: (everything!) command not found

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.

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

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
and a 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.


Problem reports:
Unsubscribe info:

-- Problem reports: FAQ: Documentation: Unsubscribe info:

-- Problem reports: FAQ: Documentation: Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]