Re: hiding the postgres password - v8.1.0

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Mr(dot) Dan" <bitsandbytes88(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: hiding the postgres password - v8.1.0
Date: 2006-03-20 21:23:43
Message-ID: 20060320212343.GD15091@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mr. Dan wrote:

> Is there a way to hide or encrypt the postgres password when the postgres
> user is required to be the user in a shell script? This way we could have
> a function called in a program, and the users could do something with out
> actually seeing the postgres user password.

See the docs for the .pgpass file, in the libpq section (Interfaces).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ivo Rossacher 2006-03-20 22:31:43 Re: Character encoding problems and dump import
Previous Message Mr. Dan 2006-03-20 21:19:30 hiding the postgres password - v8.1.0