Re: psql and passwords

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Doug McNaught <doug(at)wireboard(dot)com>
Cc: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql and passwords
Date: 2002-04-16 03:32:43
Message-ID: Pine.NEB.4.43.0204161231540.498-100000@angelic.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 15 Apr 2002, Doug McNaught wrote:

> "Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
>
> > Anyway, the solution is to set PGPASSWORD in the evironment. Once I
> > remembered about that it all became so much easier.
>
> Note that this is potentially insecure as some systems expose your
> environment to other users.

Indeed. What about adding an option whose argument is the name of
a file containing the password?

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-04-16 03:34:43 Re: psql and passwords
Previous Message Curt Sampson 2002-04-16 03:25:25 Re: Mass-Data question