How would you call fabric.operations.open_shell(command=None) And have it run sudo su - automatically so you get a root shell ?
I tried something like command="sudo su -", which works, but I am prompted for the password, can that propmt be handled by fabric? I tried: something like command="sudo -p '%s' su -"%env.sudo_promopt but that did not seem to help. Thanks a lot. Mohamed. _______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
