[Asterisk-Users] Running Asterisk as non-root

Luki lugosoft at gmail.com
Fri May 5 15:52:53 MST 2006


> I saw where one should not run Asterisk as root:
> How important is this?

It's probably not very important at the moment, however, it's not that
hard to do either. I run Asterisk non-root and in a chrooted
environment -- it keeps all necessary files nicely separated (easily
portable, easy to switch versions), doesn't clog up common
directories. Just make a new directory like /usr/local/asterisk and
use that as the root for the chrooted environment. Chown all /var and
/etc/asterisk files in there to the asterisk user and you're good to
go. The tough part is to get all the shared libraries copies over --
ldd is your friend.

--Luki



More information about the asterisk-users mailing list