Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by postgresql.org (Postfix) with ESMTP id A848B475D7C for ; Fri, 22 Feb 2002 13:55:16 -0500 (EST) Received: from tux3.ici.ou.la (213.36.0.4) by mail.libertysurf.net (5.1.053) id 3C75B54C0002607C for pgsql-admin@postgresql.org; Fri, 22 Feb 2002 19:56:14 +0100 Received: from freesbee.fr (localhost [127.0.0.1]) by tux3.ici.ou.la (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g1MIsk900613 for ; Fri, 22 Feb 2002 19:54:46 +0100 X-Authentication-Warning: tux3.ici.ou.la: Host localhost [127.0.0.1] claimed to be freesbee.fr Message-ID: <3C7693F5.6B309022@freesbee.fr> Date: Fri, 22 Feb 2002 19:54:45 +0100 From: tuan X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19.Tux.roulaize.RMS.aussi i586) X-Accept-Language: fr, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Client Authentication References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200202/304 X-Sequence-Number: 3457 Hi, May be you should use the program /usr/local/pgsql/bin/pg_passwd your_password_file It will ask you to fill in names and passwds and make an encrypted file of it Tuan Gtrica wrote: > > 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) -- /\ /\ ___________________________________________________ ( ''' ) |Les idées qui gouvernent le monde arrivent sur les | (@_ _@) |pattes des pingouins ou sur les baskets des | __( Y )__ |diablotins ou à dos de Gnou (Nietzche modifié) | (;;)>^<(;;) |___________________________________________________| ===\[_]/=== ¤-((_))-¤ --------------------