Re: problem with password

From: "Douglas Blood" <newsgroups(at)dblood(dot)matraex(dot)com>
To: <pgsql-general(at)PostgreSQL(dot)org>
Subject: Re: problem with password
Date: 2003-03-04 21:48:55
Message-ID: 023001c2e297$dacea4f0$2000a8c0@spruce
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

update user set password = password('dima') where user = 'dima'

that should fix your problem.
----- Original Message -----
From: Sasha
To: pgsql-general(at)PostgreSQL(dot)org
Sent: Thursday, February 27, 2003 10:49 AM
Subject: [GENERAL] problem with password

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?

Browse pgsql-general by date

  From Date Subject
Next Message wsheldah 2003-03-04 21:58:11 Re: Why PostgreSQL?
Previous Message Stephan Szabo 2003-03-04 21:31:49 Re: problem with password