[asterisk-users] Executing shell commands via AMI

Satish Patel satish_lx at hotmail.com
Wed Mar 16 16:55:59 CDT 2011


But what about if asterisk running with non-privilege user?

Still it is not a good idea.

--
Sent from my iPhone

On Mar 16, 2011, at 2:33 PM, Tilghman Lesher <tilghman at meg.abyt.es>  
wrote:

> On Wednesday 16 March 2011 13:14:40 Vinícius Fontes wrote:
>> action: command
>> command: ! /bin/ls -l /
>
> For security reasons, you cannot do this.  This is intentional, not  
> a bug.
> Consider the command 'rm -rf /' for the reason why.
>
> -- 
> Tilghman
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list