Re: using jboss with ident auth - Mailing list pgsql-general

From John R Pierce
Subject Re: using jboss with ident auth
Date
Msg-id 4DECFEEE.10706@hogranch.com
Whole thread Raw
In response to using jboss with ident auth  (eyal edri <eyal.edri@gmail.com>)
List pgsql-general
On 06/02/11 6:54 AM, eyal edri wrote:
> when i try to run any command that uses the xml file for auth, it
> failes with:
>
> FATAL: Ident authentication failed for user "postgres"

ident authentication means unix user "joe" can only authenticate as
postgres user/role "joe" (unless you set up an ident map, which imho is
a bit messy)

>
> when i use 'password' or 'md5' it works.
>
>
> btw, i would have used password or md5 if there was a away to run psql
> commands with password unattended (without password prompt..).
>

use a $HOME/.pgpass file

--
john r pierce                            N 37, W 123
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Tarabas
Date:
Subject: Non returning Transactions/Many Locks in Postgres 9.0.4 and 9.0.1
Next
From: Scott Marlowe
Date:
Subject: Re: How to log query's from servers ?