sudo without tty

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

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.