Monday, March 7, 2016

CSSH - sudo: sorry you must have a tty to run sudo

problem:
cssh --action 'sudo command' server1 server2

results in error:
"sudo: sorry you must have a tty to run sudo"

solution:
cssh --options '-t -t' --action 'sudo command' server1 server2

No comments:

Post a Comment

Comments, Suggestions or "Thank you's" Invited!