View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 06:57 PM
toto
 
Posts: n/a
Default Re: User's environment

Something like :

su - X ; env >/tmp/X.env
CTRL D
su - Y ; env>/tmp/Y.env
CTRL D
diff /tmp/X.env /tmp/Y.env

??

Tom Lowrie wrote:
> Is there a method for root to display the current environment of some other
> currently logged-in user?
>
> For example: User "X" gets different results when running a particular
> program than user "Y". I would like to look at and compare the two user's
> environments to determine if some variable is being set that causes the
> difference.
>
> Thanks,
>
> Tom


Reply With Quote