On Fri, Nov 07, 2014 at 03:42:59PM -0500, Greg Sabino Mullane wrote:
> On Fri, Nov 07, 2014 at 10:54:54AM +0800, Hadri Rahman wrote:
> > A psql connection (via user postgres) seems to work:
> > 
> > postgres@vmachine:$ psql -h localhost -p -5432 -U bucardo bucardo
> > Password for user bucardo:
> 
> Why is it asking for a password here? Are you typing anything in? 
> If the .pgpass file is being read and working, this prompt should 
> not be appearing.

Are the permissions on .pgpass correct? From
http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html:

"On Unix systems, the permissions on .pgpass must disallow any access to world
or group; achieve this by the command chmod 0600 ~/.pgpass. If the permissions
are less strict than this, the file will be ignored."

-- 
Josh Tolley   [email protected]   801-987-0252
End Point Corporation  http://www.endpoint.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bucardo-general mailing list
[email protected]
https://mail.endcrypt.com/mailman/listinfo/bucardo-general

Reply via email to