On Thu, Apr 06, 2017 at 08:16:34PM +0300, Atux Atux wrote:
> hi. i would like to be able to reboot the system from my extension. is that
> possible? if yes, how?
System('sudo /sbin/reboot')
You need to allow that in a sudoers file, of course. This may or may not
be a good idea.
There are a host of other methods to permit unplivilidged users /
processes to run do specific priviliged actions.
--
Tzafrir Cohen
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users