On Thu, Feb 19, 2009 at 3:28 AM, Pol <xtekhne at gmail.com> wrote: > Smoot Carl-Mitchell wrote: >> sudo -u user2 command args ... > > It seems that 'command' does not get the environment of the user2, this way. sudo su - user2