On Fri 2008-06-27 09:39:24 -0400, Lennart Sorensen wrote:

> The environment could be viewed too.  

How can the environment be viewed, other than by the same user?  On a
lenny/sid system, it looks to me like the environment is only visible
to the process owner:

[0 [EMAIL PROTECTED] ~]$ ls -la /proc/*/environ | cut -f1,3 -d\  | sort | uniq 
-c 
      2 -r-------- chipcard
     57 -r-------- dkg
      1 -r-------- dnslog
      5 -r-------- postgres
     95 -r-------- root
      1 -r-------- wt215
[0 [EMAIL PROTECTED] ~]$ ls -la /proc/*/cmdline | cut -f1,3 -d\  | sort | uniq 
-c 
      2 -r--r--r-- chipcard
     57 -r--r--r-- dkg
      1 -r--r--r-- dnslog
      5 -r--r--r-- postgres
     95 -r--r--r-- root
      1 -r--r--r-- wt215
[0 [EMAIL PROTECTED] ~]$ 

Is there some other way to get access to a process's environment for a
different user?

Sorry for continuing the off-topic thread,

      --dkg

Attachment: pgpVo3BD21Wvy.pgp
Description: PGP signature

Reply via email to