Re: [dev] [ii] exposed password on process monitoring

From: Kurt H Maier <khm-suckless_AT_intma.in>
Date: Fri, 20 Apr 2012 20:25:44 -0400

On Sat, Apr 21, 2012 at 02:52:17AM +0300, Ivan Kanakarakis wrote:
> dah
>
> $ ps e -C ii | grep -o "IIPASS=[^ ]*"
> IIPASS="foobar"

I am mildly convinced that other users cannot see env data with ps -e.
I am also vaguely determined that on linux this information comes from
/proc/$PID/environ and is thus controlled by that file's mode.

If not, we should write a better ps.
Received on Sat Apr 21 2012 - 02:25:44 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 21 2012 - 02:36:04 CEST