Hi,

I am playing and getting to grips with Asterisk, the Open Source PBX.

I am running it on my LFS-6.3 + some BLFS.

Building and installing as root (as seems to be the "normal" way) is 
fine and it works fine. BUT, I would really like to *NOT* have Asterisk 
running as root on an Internet connected server.

I have come across two suggested ways to build and run as a non-root 
user and I would like some advice/comments from the BLFS team who have 
worked out stuff like this before.

The first method is described here: 
http://www.voip-info.org/wiki/index.php?page=Asterisk+non-root

And this seems the most "sane" of the two.

The other method is documented in the "Asterisk - The Future Of 
Telephony Book" and basically, after creating a user, installs 
*everything* under /home/asterisk, as that user.

This one just doesn't seem right to me. It certainly isn't following the 
usual FHS standards and strikes me as an easy cop-out method.

So, if you have any experience of building Asterisk directly, I'd love 
to hear about it.

But I'm really interested in how you (the BLFS contributors) go about 
working out how and where everything goes? Do you set the --prefix 
switch to somewhere like /test/asterisk_build and then look to see what 
went where? What about the /etc type files which do not seem to be 
affected by the --prefix switch? How do you prevent them from 
contaminating your system when you are just investigating?

Thoughts and comments gratefully received.

And - if I get this sorted, I'll document and write it up as hint or 
something. You never know it might even end up in *the book* one day...

Cheers

Al

-- 
The way out is open!
http://www.theopensourcerer.com

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to