ssh and sudo

Mark mhullrich at gmail.com
Wed Nov 17 02:55:24 UTC 2010


On Tue, Nov 16, 2010 at 6:37 PM, Arnaud G <lepelerin2002 at yahoo.com> wrote:
>
> Sorry for not being clear. the "I" user is user "A". When "A" is connected
> to "b" as "B" and try to run sudo "command" on "b" ... it asks for "B" 's
> password.
>
Yes, that is the correct behavior.  If you want to run a command with
sudo on "b" you'll need to have your own account on "b" or know "B"'s
password.  I don't think there's any way around that.  Given that you
are "the administrator" for their machines, you probably want/ought to
have your own account there, with sudo privilege.  Any other way of
side-stepping this is unnecessarily elaborate and not worth the
effort.




More information about the ubuntu-users mailing list