ssh and sudo

Arnaud G lepelerin2002 at yahoo.com
Wed Nov 17 12:29:24 UTC 2010


On Tue, 2010-11-16 at 19:45 -0800, Arnaud G wrote:


> 
> OK. I can create my own account on their machine. My question is: If I
> need to configure/install something with sudo on "b" for "B" and I use
> my own account to do it, would the configuration/install be available
> for "B" 's account? If so you solved my problem,

From: Smoot Carl-Mitchell <smoot at tic.com>
To: "Ubuntu user technical support, not for general discussions" 
<ubuntu-users at lists.ubuntu.com>
Sent: Wed, November 17, 2010 12:08:34 AM
Subject: Re: ssh and sudo

> If your user account has sudo privileges, you can just do:
>
> sudo -i -u <user> <command>
>
> This runs the <command> as <user> with all of <user>'s login
> environment.
>
> -- 
> Smoot Carl-Mitchell
> System/Network Architect
> voice: +1 480 922-7313
> cell: +1 602 421-9005
> smoot at tic.com

That is exactly what I want to do, thank you.

A
-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101117/ca51d4c2/attachment.html>


More information about the ubuntu-users mailing list