Received: from jupiter.hub.org (jupiter.hub.org [64.49.215.5]) by postgresql.org (Postfix) with ESMTP id C9A014760EA for ; Wed, 27 Feb 2002 13:02:34 -0500 (EST) Received: (from news@localhost) by jupiter.hub.org (8.11.6/8.11.6) id g1RHqKw97761 for pgsql-admin@postgresql.org; Wed, 27 Feb 2002 11:52:20 -0600 (CST) (envelope-from news) From: "Craig Moon" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Client Authentication Date: Wed, 27 Feb 2002 10:52:29 -0700 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 41 Message-ID: References: X-Complaints-To: news@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-admin@postgresql.org X-Archive-Number: 200203/35 X-Sequence-Number: 3570 I was having the same problem. In pg_hba.conf I had the following lines: local all password .superusers local design password .pg_design I switched the order of the lines so that the "local all" was last and that fixed the problem local design password .pg_design local all password .superusers I don't know if that will help you out or not. Craig "Gtrica" wrote in message news:a555sr$1qnc$1@jupiter.hub.org... > Hi all > > I'm trying to configure Postgress to allow restricted access to database. > I inserted in the file pg_hba.conf the following line: > local primo > password ./pass > > the file pass in directory "data" contains the line "giuseppe:gitrica" > when I connect using "psql primo giuseppe" I'm asked to insert the password > but it tells > "Password authentication failed for user 'giuseppe' " > > Giuseppe > > > > > > >