problem with password

From: "Sasha" <ntd-linux(at)land(dot)ru>
To: <pgsql-general(at)PostgreSQL(dot)org>
Subject: problem with password
Date: 2003-02-27 17:49:32
Message-ID: 000701c2de88$970faa60$528e5cd4@alex
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I create the database by following:

mkdir -p /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su postgres

initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data
createdb appc
psql appc

Then i create a same user:

create user dima with password 'dima'
\q

Then:

psql appc -U dima -W
Password: __Input any password__ - enter to postgresql.

Why i can access to database with any password? What is my error?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2003-02-27 18:08:04 Re: initdb hangs even though ipc-daemon is running?
Previous Message Dave Cramer 2003-02-27 17:48:50 phpBB2 slow on postgres vs mysql ?