Tuesday, June 23, 2015

sudo stderr: sudo: no tty present and no askpass program specified

1. Login to the server as root
2. Add the following line to the end of sudoers file by doing : visudo
deploy ALL=(ALL) NOPASSWD: ALL