On Sun, Jul 06, 2014 at 08:43:06PM +0530, Martin Furter wrote: > > Resending my reply to the list too... > > >I don't know a command which shows the environment of a process as nice > >as 'ps' shows the process arguments.
ps -e on OpenBSD < 5.3 used to show the environment of every process on the system. I would expect several other variants of unix to show env vars too. So, generally, it's not safe to rely on environment variables being secret.