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
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
>
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
3 matches
Mail list logo