[asterisk-users] ! Command from -rx?

Matt Riddell matt at venturevoip.com
Sun Aug 5 17:44:47 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tzafrir Cohen wrote:
> 
> What do you need that for?
> 
> '!' is pointless with asterisk -rx: with asterisk -r, '!' runs a local
> command in a subshel (or starts a new subshell) by the local cleint
> asterisk. It does nothing by the server.
> 
> So you might as well just run:
> 
>   ls

Unless somehow he has access to the Asterisk console from a non root
account and Asterisk is running as root and he wants to execute
something as root.

I would have thought though that if Asterisk is running as root, he'd
need to be root to access the console.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://feeds.venturevoip.com/AsteriskNews (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtlLfDQNt8rg0Kp4RAtrjAJ9UaRtYSThbCc59igXT5Kv3cEjtzACgori7
LxKK2JWHtNLK3dovj3SkiHE=
=yTPn
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list