[Bucardo-general] Some more questions

Joshua Tolley josh at endpoint.com
Sat Nov 8 21:04:43 UTC 2014


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 at 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   josh at endpoint.com   801-987-0252
End Point Corporation  http://www.endpoint.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20141108/1854ab02/attachment.sig>


More information about the Bucardo-general mailing list