Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C264A9FB58D for ; Fri, 23 Mar 2007 11:45:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 36304-01 for ; Fri, 23 Mar 2007 11:45:43 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 4AA9B9FB44A for ; Fri, 23 Mar 2007 11:45:44 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.8/8.13.8) with ESMTP id l2NEjXk6078566 for ; Fri, 23 Mar 2007 11:45:33 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.8/8.13.8/Submit) id l2NEJ11P064144 for pgsql-admin@postgresql.org; Fri, 23 Mar 2007 11:19:01 -0300 (ADT) (envelope-from news) From: "Sabin Coanda" X-Newsgroups: pgsql.admin Subject: set password doesn't work Date: Thu, 22 Mar 2007 14:35:37 +0200 Organization: Hub.Org Networking Services Lines: 32 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/218 X-Sequence-Number: 25042 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