Re: How to automate password requests? - Mailing list pgsql-general

From Andrej Ricnik-Bay
Subject Re: How to automate password requests?
Date
Msg-id b35603930801101616q7ac05efbn19d262dabb4c0557@mail.gmail.com
Whole thread Raw
In response to Re: How to automate password requests?  (Marten Lehmann <lehmann@cnm.de>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.2.4 serious slowdown
Next
From: "Martin Gainty"
Date:
Subject: Re: How to automate password requests?