Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy failed 'no tty present', but no sudo? #247

Closed
mcescalante opened this issue Nov 3, 2014 · 1 comment
Closed

Deploy failed 'no tty present', but no sudo? #247

mcescalante opened this issue Nov 3, 2014 · 1 comment

Comments

@mcescalante
Copy link

I am trying to deploy to a production system at a large datacenter that has many firewall and security rules. I am currently using my own account as the deploy account, and the deploy makes it all the way up to the following command:

-----> Launching
       $ cd "$release_path" 
       sudo: no tty present and no askpass program specified
 !     ERROR: Deploy failed.

I have combed (and grep'd) through source but cannot find any sudo command that would be triggering this. I am aware that adding NOPASSWD to my sudoers file will mitigate this, but that isn't an option in this production environment. I also added a -v flag to the ssh options, but there were no errors in the verbose ssh output that signaled what was wrong. On the server side, the PAM module seems to be throwing a "no password detected" but that doesn't make sense since I couldn't find a place sudo was ever being run.

Does anybody have any insights as to what's going on or what I could do to help this along? Cheers 😄

@mcescalante
Copy link
Author

Just found it, it was a sudo left in my own config file on launch. Thanks for developing such wonderful software!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant