Switching user in a SSH connection
tino at wildenhain.de
Fri Jan 2 10:22:18 CET 2009
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
More information about the Python-list