Received: from infidyne.com ([193.13.9.98]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2CMwGx92773 for ; Mon, 12 Mar 2001 17:58:17 -0500 (EST) (envelope-from peter.schuller@infidyne.com) Received: (qmail 5896 invoked from network); 12 Mar 2001 22:58:14 -0000 Received: from equinox.infidyne.com (HELO localhost) (root@193.13.9.98) by equinox.infidyne.com with SMTP; 12 Mar 2001 22:58:14 -0000 Received: (qmail 8897 invoked by uid 1000); 12 Mar 2001 23:01:59 -0000 From: "Peter Schuller" Date: Mon, 12 Mar 2001 18:01:59 -0500 To: pgsql-admin@postgresql.org Subject: Authentication by password Message-ID: <20010312180159.D6756@prometheus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Archive-Number: 200103/91 X-Sequence-Number: 939 Hello, I'm sure this has been covered before, but the ML archive search engine is down (?!). After telling postgresql not to trust anyone, but always use password/crypt as the authenticaton method (pg_hdb.conf), I can't seem to get the postmaster to authenticate against the right password. What I've done is: 1) Create user U with createuser 2) Log in as postgres to a database A 3) UPDATE pg_user SET passwd='mypassword' WHERE usename='U'; But after that 'mypassword' is not accepted when trying to log in as user U. What am I doing wrong? I was thinking the passwords might be encrypted in the db; but then the "password" authentication mechanism would be impossible, so that can't be it. Thank you, -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0x5584BD98 or 'Peter Schuller ' Key retrival: Send an E-Mail to getpgpkey@scode.infidyne.com E-Mail: peter.schuller@infidyne.com Web: http://scode.infidyne.com