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

[CentOS] Having problems with sudoers

2012-01-25 Thread Steve Campbell
I've got a Cento 6.2 server I'm putting together that will become a mailserver. It will have on it MailScanner and MailWatch for MailScanner. I'm using the latest stuff available and have run into a problem with changes I need to make in the /etc/sudoers file. It doesn't seem to take affect aft