Last week I came across a requirement where I had to deploy an application on the root (port:80) for which I was getting an "Authentication Failure issue" with the following error: "sudo: no tty present and no askpass program specified" for which I did the following:
- Browse to the "sudoers" file, present in the /etc directory on your system.
- Open the sudoers file and add the following entry to the same:
%jenkins ALL=NOPASSWD: ALL
- Save and exit from the file,and you're done!
Caution: This allows JENKINS to avoid the password prompt for all commands, which could
So please use this with caution.
More From Oodles
Ready to innovate? Let's get in touch
Rijul has more than 10 years of experience in software development, filling positions of both technical and managerial leadership. He loves to travel and indulge in gaming in his free time.