Re: How to automate password requests?

Поиск
Список
Период
Сортировка
От Andrej Ricnik-Bay
Тема Re: How to automate password requests?
Дата
Msg-id b35603930801101616q7ac05efbn19d262dabb4c0557@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to automate password requests?  (Marten Lehmann <lehmann@cnm.de>)
Список pgsql-general
On 11/01/2008, Marten Lehmann <lehmann@cnm.de> wrote:

> is there no way to specify the password directly? I don't like to create
> a separate file because all config is done in a shell script. I could
> set a certain environment variable with the password, but does pgadmin
> read a password from such a variable? If yes, what is its name?
This is generally a bad idea, because on many systems one can
see the environment variables with which a process was started
in ps' output.
It shouldn't be too hard for your config-script to echo the proper
parameters into ~/.pgpass . You best forget about the thought
of having a shell variable with the password ;}


> Regards
> Marten
Cheers,
Andrej



--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.2.4 serious slowdown
Следующее
От: "Martin Gainty"
Дата:
Сообщение: Re: How to automate password requests?