You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when I do the same with Fabric I get the following error:
sudo /home/foobar/bin/restart_app_server
sudo /home/foobar/bin/timers_nginx
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
I tried shell=False, tried sudo(...) instead of run(...). No difference at all. This issue appeared after updating from Fabric 2.x.x to Fabric 3.x.x. But I can use old Fabric 2.x.x. right now.
Thanks!
The text was updated successfully, but these errors were encountered:
I have configured
sudoers
to let me execute two commands without password:When I
ssh
to the server I can execute both commands without password:However when I do the same with Fabric I get the following error:
This is what my
fabfile
looks like:I tried
shell=False
, triedsudo(...)
instead ofrun(...)
. No difference at all. This issue appeared after updating from Fabric 2.x.x to Fabric 3.x.x. But I can use old Fabric 2.x.x. right now.Thanks!
The text was updated successfully, but these errors were encountered: