'su' without password

Norberto Bensa nbensa at gmail.com
Thu Feb 19 19:57:13 UTC 2009


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




More information about the ubuntu-users mailing list