[asterisk-users] giving a user asterisk CLI access: how bad could it get

Dima fadey at scancom.es
Fri Oct 31 18:38:52 CDT 2008


Setting the user's shell to /usr/sbin/rasterisk works. On login user
gets into asterisk CLI if asterisk is running (user just has to have
write permission to /var/lib/asterisk.*).

> On Fri, Oct 31, 2008 at 11:11:08AM +0100, fadey wrote:
> > Hi, everyone
> > 
> > I'm investigating if I could give asterisk CLI access to one of our
> > clients.
> > If I add that user to asterisk group and set his shell
> > to /usr/sbin/rasterisk, is there a possibility for a user to brake our
> > of asterisk CLI to normal shell?
> 
> The shell is something that should be run at login time. Asterisk is not
> such a program. It will not be run directly anyway. Set the shell to
> either /bin/sh (/bin/bash , /bin/dash , whatever) if you want to allow
> that user to login, or to /bin/false if you don't .
> 




More information about the asterisk-users mailing list