[asterisk-users] asterisk as non-root/best practices

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Nov 21 14:11:16 CST 2007


On Wed, Nov 21, 2007 at 01:53:58PM -0500, Kristian Kielhofner wrote:

> (as root)
> chown -R asterisk:asterisk /etc/asterisk
> chmod -R 770 /etc/asterisk

Nitpeeking:

Now you made everything there executable.

chmod -R o= /etc/asterisk
chmod -R ug+rwX /etc/asterisk

(Any shorter way?)

In most cases there is also usually non real need for Asterisk to be
able to write to its config files (except voicemail.conf and maybe a few
others).

> usermod -G admin,asterisk admin

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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