In a message of Wed, 19 Aug 2015 10:44:53 +0200, Laura Creighton writes: >I haven't tried this but fabric looks encouraging: > >>From >>http://docs.fabfile.org/en/latest/api/core/operations.html#fabric.operations.run > > fabric.operations.run(*args, **kwargs) > > Run a shell command on a remote host. > > ... > > Any text entered in your local terminal will be forwarded to the > remote program as it runs, thus allowing you to interact with > password or other prompts naturally > > ... > > You may pass pty=False to forego creation of a pseudo-terminal on > the remote end in case the presence of one causes problems for the > command in question. > >Laura >-- >https://mail.python.org/mailman/listinfo/python-list
And now that I started looking, I found this: http://stackoverflow.com/questions/12641514/switch-to-different-user-using-fabric so, somebody got it to work ... Laura -- https://mail.python.org/mailman/listinfo/python-list