Re: [CentOS] Having problems with sudoers

2012-01-26 Thread Gordon Messmer
On 01/25/2012 05:09 AM, Steve Campbell wrote: > it's saying that "sudo: sorry, you must have a tty to > run sudo". > > I'm trying to enable the user "apache" to have the ability to run an > executable from a web page. One of the common solutions is to do the > following: > > Defaults:apache !requ

Re: [CentOS] Having problems with sudoers

2012-01-25 Thread Philippe Naudin
Le mer 25 jan 2012 08:09:50 CET, Steve Campbell a écrit: > ... > I'm trying to enable the user "apache" to have the ability to run an > executable from a web page. One of the common solutions is to do the > following: > > Defaults:apache !requiretty > apacheALL = NOPASSWD:/program.name >

Re: [CentOS] Having problems with sudoers

2012-01-25 Thread John Doe
From: Steve Campbell > Defaults:apache  !requiretty > apache    ALL = NOPASSWD:/program.name > also tried: > Defaults    !requiretty > Defaults    visiblepw > Anyone have a suggestion? I've got to research the tty stuff for now to > ensure there is one available, but beyond that, I'm stumped. I