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

2018-08-16 Thread Olivier
Yes: I never thought of using sudo to also forbid access some apps. Using it for that is very smart ! Thank you for sharing it here. I'll experiment with this and report here my findings. Thanks again 2018-08-14 19:50 GMT+02:00 John Kiniston : > I use sudo to limit this. > > Cmnd_Alias

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

2018-08-14 Thread John Kiniston
I use sudo to limit this. Cmnd_Alias CAPTAGENT = /sbin/service captagent stop, /sbin/service captagent start, /sbin/service captagent restart Cmnd_Alias ASTERISK = /sbin/service asterisk stop, /sbin/service asterisk start, /sbin/service asterisk restart, /usr/sbin/rasterisk, /usr/sbin/asterisk,

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

2018-08-14 Thread Olivier
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