sudo without tty
Submitted by vitki on Oct 28 2009 - 4:48am
in
Running a privileged command requires sudo. If it is performed from under apache, sudo says that it requires tty. To fix it, run visudo and comment out a string in /etc/sudoers
#Defaults requiretty
or override its value for apache
Defaults:apache !requiretty

Comments
Post new comment