Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens up - Mailing list pgsql-hackers

From Doug McNaught
Subject Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens up
Date
Msg-id m34rnerhsw.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.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"...

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Libpq support for precision and scale
Next
From: Thomas Lockhart
Date:
Subject: Re: Call for platform testing