Reboot module

Hello, I found a module for rebooting the PC from freepbx, I have problems with permisions and I can’t solve them.

The module is: warpsystemtools (it has the ability of configuring the network parameters, but I´m using centos and the module wos not properly design for centos).

I can use the reboot feature becouse I have no permisions, I do an system(“whoami”) from the php included in the module and it shows “asterisk”.

Then I modify my /etc/sudoers:


but the reboot feature doesn´t work.

Any suggest?

Thanks in advance

“…I’m using centos and the module was not designed for centos.”