[asterisk-users] Disable root shell from CLI

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Feb 12 03:54:40 MST 2007


On Mon, Feb 12, 2007 at 10:36:51AM +0100, jeremij jerome wrote:
> Hi,
> 
> I configured Asterisk to run as "asterisk" user, but I see that a user can
> anyway get a root sheet using !command in CLI. I understood that it's
> something related to safe_asterisk and TTY console, but modifying the script
> safe_asterisk I wasn't able to disable this root access.
> 
> Can someone help me?

Why exactly do you need it?

That '!' is only an escape to the shell of the user who runs asterisk
-r.

It is not an actual command sent over the socket.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list