List Info

Thread: Re: executing a root script from openpbx




Re: executing a root script from openpbx
country flaguser name
Italy
2007-03-30 04:35:11
Antonio Gallo ha scritto:
> nextimenexlab.it ha scritto:
>>> any suggestions?
>> Use sudo.
> Something like this ?
> exten => s,1,TrySystem("sudo
/myscript.sh")

ok it worked: thank you!

exten => s,1,TrySystem(sudo -u root 
/usr/local/sbin/format-customer-harddisk-that-didnt-payed-co
nsultants.sh)


Antonio
_______________________________________________
Openpbx-dev mailing list
Openpbx-devopenpbx.org
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )