[BangPypers] Executing Commands using sudo
Vid
svaksha at gmail.com
Thu Nov 15 17:31:59 CET 2012
On Thu, Nov 15, 2012 at 6:49 AM, davidsnt <davidsnt at gmail.com> wrote:
> Hello Team,
>
> I have a bunch of servers where I have to login as user1 and then sudo as
> super user and again change to user2 and execute a bunch of commands, can
> you guys help with any thought how can I get this done in python.
Your mail is not clear about what you are attempting to do after you
login. Anyway, if you are deploying software across multiple remote
servers, "Fabric" is your friend. HTH.
Regards,
Vid ॥ http://svaksha.com ॥
More information about the BangPypers
mailing list