Re: how to run psql without password prompt when using auth MD5/Password - Mailing list pgsql-general

From Grzegorz Szpetkowski
Subject Re: how to run psql without password prompt when using auth MD5/Password
Date
Msg-id BANLkTimtOmx3qwq_xZZgycWokc5J9ydS8A@mail.gmail.com
Whole thread Raw
In response to how to run psql without password prompt when using auth MD5/Password  (eyal edri <eyal.edri@gmail.com>)
Responses Re: how to run psql without password prompt when using auth MD5/Password
List pgsql-general
Sure,


http://stackoverflow.com/questions/6216432/windows-psql-command-line-is-there-a-way-to-allow-for-passwordless-login/6216838#6216838

Regards,
Grzegorz Szpetkowski

2011/6/5 eyal edri <eyal.edri@gmail.com>:
> Hi,
> Is there a way to run psql -U user -d dbname -c "select....."
> without the psql asking for a password prompt from the user?
> when setting the pg_hba.conf file to use md5 or password.
> (btw, i've tried using ident, but couldn't make it work with jboss).
> thanks!
> Eyal.

pgsql-general by date:

Previous
From: eyal edri
Date:
Subject: how to run psql without password prompt when using auth MD5/Password
Next
From: eyal edri
Date:
Subject: Re: how to run psql without password prompt when using auth MD5/Password