Re: Problem with .pgpass

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problem with .pgpass
Date: 2009-05-18 16:03:51
Message-ID: 5f21cb49f917a1a3b7cfdc5049264b1c@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> I tried to put my password in a .pgpass file into the home directory of
> the root user (so /root/.pgpass). Here is a cat of that file :
> *:*:*:*:test
>
> psql: FATAL: authentification par mot de passe choue pour
...
> When prompt for a password, I enter 'test' and it's working ...

It certainly seems as though it *should* work, based on the information
you gave us. Try making a new line above it with a more specific entry:
perhaps there are some weird character issues with the current line.

*:*:*:postgres:test
*:*:*:*:test

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation
PGP Key: 0x14964AC8 200905181203
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkoRhugACgkQvJuQZxSWSsiOgwCeLi7o3fbXu9CX61PQqfcPI0/g
LjcAoOJoo29McOt0Xirf7n/5VJ80pJbG
=qhRT
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Mead 2009-05-18 16:09:08 Re: Problem with .pgpass
Previous Message Tom Lane 2009-05-18 15:59:55 Re: Problem with .pgpass