[asterisk-users] Executing shell commands via AMI

Vinícius Fontes vinicius at canall.com.br
Wed Mar 16 14:11:21 CDT 2011


----- Mensagem original -----


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 

I understand the concern with security but why not create a separate authorization allowing that instead of hard-coding it? 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110316/5b7fb86b/attachment.htm>


More information about the asterisk-users mailing list