Password authentication failing...?

From: Drew Hamilton <drew(at)ichallenge(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Password authentication failing...?
Date: 1998-08-10 14:33:06
Message-ID: 19980810103306.A9578@urd.ichallenge.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi there!

I've just installed Postgres and now I'm having problem with authentication.
Everything works properly when I log on "directly" (logged on to UNIX as
the same user as I'm logging onto Postgres):

[postgres(at)urd pgsql]$ psql ichallenge
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL

However, as soon as I try to use the "-u" option to specify a username
and password, it fails, no matter who I'm logged on as:

[postgres(at)urd pgsql]$ psql -h localhost -u ichallenge
Username: postgres
Password:

Connection to database 'ichallenge' failed.
PQexec() -- Request was sent to backend, but backend closed the channel before r
esponding. This probably means the backend terminated abnormally before or whil
e processing the request.

I get the same results no matter who I'm logged into UNIX as. Once, I
was lucky enough to get a different failure message, saying that plaintext
password authentication had failed, but I can't duplicate it anymore.

Can anyone help?

- Drew

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Florian Piekert 1998-08-10 15:22:56
Previous Message atif ahmed 1998-08-10 10:16:33 i need help in using pg!!!