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

From Bruce Momjian
Subject Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens
Date
Msg-id 200111281848.fASImbi25813@candle.pha.pa.us
Whole thread Raw
In response to Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens up  (Antonio Fiol Bonnín <fiol@w3ping.com>)
List pgsql-hackers
> Zeugswetter Andreas SB SD wrote:
> 
> > > Doug McNaught <doug@wireboard.com> writes:
> > > > 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).
> > >
> > > Your *environment* is visible to other users?  Geez, what a broken
> > > system ...
> >
> > Try "ps axewww" ? Doesn't work on your platform ?
> > Works on AIX, Linux?, ...
> 
> Linux Debian Unstable (updated 1 week ago).
> 
> For a non-root user, only her processes' environment appears.
> (and /proc/*/environ permissions are 400, the user being the process owner)
> 
> For root, all processes' environment is shown.

On BSD/OS, it doesn't matter what user you are.  You can see the
environment of all processes.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: FW: [ppa-dev] Severe bug in debian - phppgadmin opens
Next
From: Bruce Momjian
Date:
Subject: Re: Call for platform testing