[CentOS] Having problems with sudoers

Wed Jan 25 13:15:03 UTC 2012
John Doe <jdmls at yahoo.com>

From: Steve Campbell <campbell at cnpapers.com>

> 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 use this (nagios example) on my 6.2:

Defaults:nagios !requiretty

JD