Skip site navigation (1) Skip section navigation (2)

Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens up

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens up
Date: 2001-11-28 16:17:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> > Is there a safe way to send username and password to psql?
> If you want to put those things in a script, you could still do
> 	export PGUSER=whatever
> 	export PGPASSWORD=whatever
> 	psql ...

But this way the password ends up in the environment, which on many
systems is visible to other processes/users (via /proc or the 'ps'
command).  Might as well use "trust"...

Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2001-11-28 16:18:44
Subject: Re: Libpq support for precision and scale
Previous:From: Tom LaneDate: 2001-11-28 16:04:37
Subject: Re: Sequence docs

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group