individual config file
Brian K. White
brian at aljex.com
Thu Dec 15 16:48:48 PST 2011
On 12/15/2011 5:47 PM, Jean-Pierre A. Radley wrote:
> Bob Rasmussen propounded (on Thu, Dec 15, 2011 at 11:26:35AM -0800):
> | IIRC, it is possible with options in the 'ps' command to see what
> | environment variables are in place in another running process. Could this
> | be used to see what the final environment was in the malfunctioning login?
>
> Never heard of such an option, and it certainly would be non-Unixy
> for user joe to be able to unveil the environment used by tom or
> alice. I don't think there's even a way for root to do so.
>
gnu ps can show the environment at least on linux
"ps e" or "ps auxwwwe" etc
Also as Ken mentioned the /proc tree includes the env for each process.
sco ps can not
and sco does not have /proc
But I believe it is still possible for a process to see another
processes environment and for a root owned process to see any processes
environment. I don't have anything handy to see if gnutools or gwxlibs
includes /usr/gnu/bin/ps or if it can show environment.
I never did understand why it was necessary or reasonable for a
processes environment to be public.
--
bkw
More information about the Filepro-list
mailing list