[asterisk-users] Is there a way to remove launching shell command from Asterisk CLI

Olivier oza.4h07 at gmail.com
Tue Aug 14 09:41:44 CDT 2018


Hello,

Is there a way to let someone access to Asterisk CLI and type whatever
command (s)he likes but the shell command (the ones started by !) ?

Ideally, it could be an argument to rasterisk:

rasterisk --no-shell

When done, a session could be like this:

> pjsip show endpoints
...
> core reload
...
> !rm /etc/foobar
Forbidden

Suggestions ?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180814/d3fc6a0b/attachment.html>


More information about the asterisk-users mailing list