How to run Asterisk as a Non-root User?
james_winston 01-September-2008 01:48:21 PM

Comments


By default, Asterisk runs as the root user, and while we don't have any hard data, our own experiences lead us to conclude that the vast majority of Asterisk systems are run in this default state. From a security perspective, this represents an unacceptable riskstrangely, one which most of us seem willing to take.

Running Asterisk as non-root is not terribly hard to achieve, but it requires a few extra steps, and debugging it can be frustrating if you do not understand how Linux permissions work. However, from a security perspective it is well worth the effort.

Posted by jackson


Please visit the following link:

http://www.voip-info.org/wiki/index.php?page=Asterisk+non-root
Posted by sagitraz



Posted: 02-September-2008 07:54:58 AM By: sagitraz

Please visit the following link:

http://www.voip-info.org/wiki/index.php?page=Asterisk+non-root

Posted: 02-September-2008 12:49:03 PM By: jackson

By default, Asterisk runs as the root user, and while we don't have any hard data, our own experiences lead us to conclude that the vast majority of Asterisk systems are run in this default state. From a security perspective, this represents an unacceptable riskstrangely, one which most of us seem willing to take.

Running Asterisk as non-root is not terribly hard to achieve, but it requires a few extra steps, and debugging it can be frustrating if you do not understand how Linux permissions work. However, from a security perspective it is well worth the effort.