Switching user in a SSH connection
Shah Alam
ssalam at gmail.com
Mon Jan 5 05:00:08 EST 2009
On Jan 2, 2:22 pm, Tino Wildenhain <t... at wildenhain.de> wrote:
> Shah Sultan Alam wrote:
> > Hi Group,
> > I am trying to connect to a Linux maching using paramiko.
> > and able to run a command like "ls -l"
>
> > Now I want to switch user being in the connection ( eg running
> > something like "su -" )
>
> > Will you please let me know how to do that.
>
> You would for example run su - in that connection? Or sudo if
> installed and configured.
>
> What else would you need?
>
> Tino.
>
> smime.p7s
> 4KViewDownload
I am trying to run su - on that connection..
sudo is not configured
More information about the Python-list
mailing list