From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-admin@postgresql.org
Subject: set password doesn't work
Date: Thu, 22 Mar 2007 14:35:37 +0200
Message-ID: <eu0nkk$1ujt$1@news.hub.org> (raw)
Hi,
I installed on linux the dbms "PostgreSQL 8.2.3 on i686-redhat-linux-gnu,
compiled by GCC gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)".
Initially I set an empty password for the user postgres.
Some times later I connect from a different machine (Windows) to that
database, and I set a password for postgres user, and now I see it in
pgAdmin as:
CREATE ROLE postgres LOGIN
ENCRYPTED PASSWORD 'md505a74e1678967a543fd92e711aa5762d'
SUPERUSER INHERIT CREATEDB CREATEROLE;
Surprising I was able to connect now to that database server, without
password, or specifying any text as password, both from the different
machine, and from the same database server machine.
So then I tried to change the password by the following script:
ALTER USER postgres WITH ENCRYPTED PASSWORD '...';
But nothing change, and it has the same behaviour like an empty password.
What's wrong ? Please let me know if I applied the right procedure to set
the password for postgres user.
TIA,
Sabin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: sabin.coanda@deuromedia.ro
Subject: Re: set password doesn't work
In-Reply-To: <eu0nkk$1ujt$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox