Hi,
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
be unsafe.
So please use this with caution.
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Rijul Jain
Rijul boasts extensive experience in leading and managing ERP Business Units, as well as overseeing high-performing engineering teams responsible for multi-million dollar portfolios. With a proven track record in managing complex ERP projects and driving organizational success, Rijul brings a wealth of knowledge and skills to the table. His ability to navigate the intricacies of ERP systems, coupled with his talent for fostering team excellence, make him a valuable asset in achieving and exceeding business objectives.Rijul is leading ERP Business Unit at organization and overseeing a diverse team of software developers, business development professionals, and marketing experts in the domain.