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

Поиск
Список
Период
Сортировка
От Bill Studenmund
Тема Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens
Дата
Msg-id Pine.NEB.4.33.0111281403350.13673-100000@vespasia.home-net.internetconnect.net
обсуждение исходный текст
Ответ на Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Rules
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: CVS branch management (was Re: A problem with new