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

From Bill Studenmund
Subject Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens
Date
Msg-id Pine.NEB.4.33.0111281403350.13673-100000@vespasia.home-net.internetconnect.net
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
On Wed, 28 Nov 2001, Bruce Momjian wrote:

> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >
> > > OK, new text is:
> > >
> > >     <envar>PGPASSWORD</envar>
> > >     sets the password used if the backend demands password
> > >     authentication. This is not recommended because the password can
> > >     be read by others using <command>ps -e</command>.
> >
> > Just a nit--the 'e' option is for Berkeley-style ps (/usr/ucb/ps on
> > Solaris).  SysV ps doesn't have an equivalent from what I can see,
> > (though I may have missed it) and '-e' does something totally
> > different.
>
> Yes, I debated that one.  I wanted to mention the environment issue
> without being verbose.  I believe 'ps e', without the dash, does show
> environment, doesn't it?

Some OSs, I know AIX for example, use SysV options if you have a dash, and
BSD options if you don't. So ps -e does the SysV -e option, while ps e
does the BSD -e option.

Take care,

Bill



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Rules
Next
From: Vince Vielhaber
Date:
Subject: Re: CVS branch management (was Re: A problem with new