Re: How to set password without echoing characters?

From: Yang Zhang <yanghatespam(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to set password without echoing characters?
Date: 2011-04-06 21:17:55
Message-ID: BANLkTi=_t569QfPAcwHsscLk8Bedhxo9XA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 6, 2011 at 2:15 PM, Yang Zhang <yanghatespam(at)gmail(dot)com> wrote:
> On Wed, Apr 6, 2011 at 2:09 PM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> wrote:
>> On Wednesday, April 06, 2011 2:00:53 pm Yang Zhang wrote:
>>> Anyone know how to set your password without having it visible in the
>>> terminal, psql history, etc. (i.e. getpass(3))? Hoping there's a
>>> program that already does this. Thanks.
>>
>> http://www.postgresql.org/docs/9.0/interactive/libpq-pgpass.html
>
> This seems to only address authenticating with an already-set
> password, and not setting the password....
>

Just discovered the \password psql command. Thanks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-04-06 22:26:07 Re: adding years to a date field
Previous Message Yang Zhang 2011-04-06 21:15:18 Re: How to set password without echoing characters?