Re: [Openpbx-dev] executing a root script from openpbx

2007-03-30 Thread Antonio Gallo
[EMAIL PROTECTED] ha scritto: any suggestions? Use sudo. Something like this ? exten = s,1,TrySystem(sudo /myscript.sh) ___ Openpbx-dev mailing list Openpbx-dev@openpbx.org http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Re: [Openpbx-dev] executing a root script from openpbx

2007-03-30 Thread Antonio Gallo
Antonio Gallo ha scritto: [EMAIL PROTECTED] 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-consultants.sh) Antonio