5

How to allow a git hook to run an executable with sudo by modifying /etc/sudoers

view full story
linux-howto

http://serverfault.com – I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. Any help would be appreciated! (HowTos)