Re: Problem with .pgpass - Mailing list pgsql-admin

From Greg Sabino Mullane
Subject Re: Problem with .pgpass
Date
Msg-id 5f21cb49f917a1a3b7cfdc5049264b1c@biglumber.com
Whole thread Raw
In response to Re: Problem with .pgpass  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Problem with .pgpass  (Scott Mead <scott.lists@enterprisedb.com>)
List 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@turnstep.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-----



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with .pgpass
Next
From: Scott Mead
Date:
Subject: Re: Problem with .pgpass