Re: how to run psql without password prompt when using auth MD5/Password

From: Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>
To: eyal edri <eyal(dot)edri(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to run psql without password prompt when using auth MD5/Password
Date: 2011-06-05 11:21:10
Message-ID: BANLkTimtOmx3qwq_xZZgycWokc5J9ydS8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)edri(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message eyal edri 2011-06-05 11:28:36 Re: how to run psql without password prompt when using auth MD5/Password
Previous Message eyal edri 2011-06-05 11:07:28 how to run psql without password prompt when using auth MD5/Password