[asterisk-gui] running asterisk as non-root users
dima
dima at scancom.es
Sat Apr 21 13:14:22 MST 2007
Hello, everyone.
I'm trying to run asterisk as a non-root (with -U asterisk -G asterisk).
A whole bunch of directories should be given asterisk as an owner. This
is my list so far:
mkdir /var/run/asterisk
chown -R asterisk:asterisk /var/run/asterisk
chown -R asterisk:asterisk /var/log/asterisk
chown -R asterisk:asterisk /var/spool/asterisk
chown -R asterisk:asterisk /var/lib/asterisk/astdb
chown -R asterisk:asterisk /etc/asterisk
chown -R asterisk:asterisk /var/lib/asterisk/static-http/config/graphs
chown -R asterisk:asterisk /var/lib/asterisk/gui_configbackups
However I found that its not enough as GUI backup and file editor. I'm
sure its not a complete list (I didn't test "record a menu").
If anyone already have accomplished running asterisk+GUI as non-root,
please could you give a list of folders I've missed.
Thanks in advance.
More information about the asterisk-gui
mailing list