rerun-modules / rundeck

Rerun module to manage Rundeck installation, configuration and operations
0 stars 1 forks source link

ssh fails with sudo: no tty present and no askpass program specified #9

Closed connaryscott closed 11 years ago

connaryscott commented 11 years ago

on centos 6.3 sudo version:

[root@sdp-centos-63-64-1 .ssh]# rpm -q sudo
sudo-1.7.4p5-11.el6.x86_64

we still get the no tty error even if /etc/sudoers "requiretty" is disabled. This does not happen when we use openssh and most likely has to do with the sudo package version in combination with the use of java's jsch.

We will likely resolve this by using a true openssh node executor in the rundeck project.