SU access to our Bamboo Agents has suddenly stopped working. The first time any script in a Bamboo Job tries to invoke `sudo` we get:
sudo: no tty present and no askpass program specified
(In at least several examples, `yum` is the command we're trying to run.)
All of these scripts were running happily 12 hours ago. We have only just started looking into what may have happened. Any pointers?
on most *nix systems you can type visudo as root and look for something called Disable requiretty. Comment this out save and exit.
Thanks.
The underlying problem was that `yum` didn't exist on the system because it was an Ubuntu image intended for a different plan. (Ubuntu uses `apt-get`, not `yum`.) A change had been made to that Ubuntu image which accidentally caused it to become eligible for use on a plan for which it was not suitable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.