Getting 'sudo: sorry, you must have a tty to run sudo' when running a program as daemon
Hi,
I installed openstack on CentOS and when running my program as daemon I get 'sudo: sorry, you must have a tty to run sudo' error message. After commenting out 'Default requiretty', the error disappears. I was wondering what is the correct fix for that?