Re: hiding the postgres password - v8.1.0

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: hiding the postgres password - v8.1.0
Дата
Msg-id 20060320212343.GD15091@surnet.cl
обсуждение исходный текст
Ответ на hiding the postgres password - v8.1.0  ("Mr. Dan" <bitsandbytes88@hotmail.com>)
Ответы Re: hiding the postgres password - v8.1.0  (Bruno Wolff III <bruno@wolff.to>)
Список 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

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Mr. Dan"
Дата:
Сообщение: hiding the postgres password - v8.1.0
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: hiding the postgres password - v8.1.0